Start 0.8 support
This commit is contained in:
@@ -56,8 +56,8 @@ Hooks.once("init", async function () {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
// Define custom Entity classes
|
||||
CONFIG.Actor.entityClass = SoSActor;
|
||||
CONFIG.Combat.entityClass = SoSCombat;
|
||||
CONFIG.Actor.documentClass = SoSActor;
|
||||
CONFIG.Combat.documentClass = SoSCombat;
|
||||
CONFIG.SoS = {
|
||||
}
|
||||
|
||||
@@ -83,8 +83,8 @@ Hooks.once("init", async function () {
|
||||
function welcomeMessage() {
|
||||
//ChatUtility.removeMyChatMessageContaining('<div id="welcome-message-sos">');
|
||||
ChatMessage.create({
|
||||
user: game.user._id,
|
||||
whisper: [game.user._id],
|
||||
user: game.user.id,
|
||||
whisper: [game.user.id],
|
||||
content: `<div id="welcome-message-sos"><span class="rdd-roll-part">Welcome !</div>
|
||||
` });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user