Derniers fix de sécurité et assimilé
This commit is contained in:
@@ -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.")
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user