diff --git a/module/chat-utility.js b/module/chat-utility.js index 8379e146..30fc0766 100644 --- a/module/chat-utility.js +++ b/module/chat-utility.js @@ -92,8 +92,8 @@ export class ChatUtility { /* -------------------------------------------- */ static getWhisperRecipientsAndGMs(name) { - return ChatMessage.getWhisperRecipients(name) - .concat(ChatMessage.getWhisperRecipients('GM')); + let recep1 = ChatMessage.getWhisperRecipients(name) || []; + return recep1.concat(ChatMessage.getWhisperRecipients('GM')); } /* -------------------------------------------- */ diff --git a/system.json b/system.json index dde66004..36d8c3f7 100644 --- a/system.json +++ b/system.json @@ -2,10 +2,10 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "1.5.3", + "version": "1.5.4", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.8.0", - "compatibleCoreVersion": "0.8.99", + "compatibleCoreVersion": "0.8.9", "templateVersion": 116, "author": "LeRatierBretonnien", "authors": [ @@ -330,7 +330,7 @@ "secondaryTokenAttribute": "sante.endurance", "socket": true, "url": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/", - "manifest": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/raw/v1.4/system.json", - "download": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/-/archive/v1.4/foundryvtt-reve-de-dragon-master.zip", + "manifest": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/raw/v1.5/system.json", + "download": "https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon/-/archive/v1.5/foundryvtt-reve-de-dragon-master.zip", "license": "LICENSE.txt" }