Derniers fix de sécurité et assimilé

This commit is contained in:
2026-04-04 09:40:30 +02:00
parent 1fb80f6abe
commit 56b58565d1
5 changed files with 37 additions and 27 deletions

View File

@@ -88,8 +88,8 @@ export class MournbladeCYD2Commands {
}
if (command && command.func) {
const result = command.func(content, msg, params);
if (result == false) {
RdDCommands._chatAnswer(msg, command.descr);
if (result === false) {
MournbladeCYD2Commands._chatAnswer(msg, command.descr);
}
return true;
}
@@ -98,8 +98,7 @@ export class MournbladeCYD2Commands {
/* -------------------------------------------- */
async createChar(msg) {
game.system.MournbladeCYD2.creator = new MournbladeCYD2ActorCreate();
game.system.MournbladeCYD2.creator.start();
ui.notifications.warn("La création automatique de personnage n'est pas disponible dans cette version.")
}
/* -------------------------------------------- */