Fix roll with armor 0
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user