Fix roll with armor 0

This commit is contained in:
2026-01-19 20:18:16 +01:00
parent cdddcb6aee
commit cd06d2e5ec

View File

@@ -19,7 +19,7 @@ import { BoLCommands } from "./system/bol-commands.js"
import { BoLRoll } from "./controllers/bol-rolls.js"
/* -------------------------------------------- */
const BOL_WELCOME_MESSAGE_URL = "https://www.uberwald.me/gitea/public/bol/raw/branch/main/welcome-message-bol.html"
const BOL_WELCOME_MESSAGE_URL = "https://www.uberwald.me/gitea/public/bol/raw/branch/v13/welcome-message-bol.html"
/* -------------------------------------------- */
Hooks.once('init', async function () {
@@ -118,7 +118,7 @@ function welcomeMessage() {
}
/* -------------------------------------------- */
function welcomeMessage() {
function welcomeMessageRepository() {
if (game.user.isGM) {
// Try to fetch the welcome message from the github repo "welcome-message-ecryme.html"
fetch(BOL_WELCOME_MESSAGE_URL)
@@ -150,7 +150,7 @@ Hooks.once('ready', async function () {
)
welcomeMessage()
welcomeMessage();
welcomeMessageRepository();
// User warning
if (!game.user.isGM && game.user.character == undefined) {