From 442212bdea10864bd38c0423bc367950b4ab9d2e Mon Sep 17 00:00:00 2001 From: CK <31608392+unrealkakeman89@users.noreply.github.com> Date: Fri, 4 Sep 2020 16:40:34 -0400 Subject: [PATCH] SuperVJ update For module compatibility --- sw5e.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sw5e.js b/sw5e.js index 8959a560..c1761f35 100644 --- a/sw5e.js +++ b/sw5e.js @@ -42,6 +42,10 @@ Hooks.once("init", function() { CONFIG.SW5E = SW5E; CONFIG.Actor.entityClass = Actor5e; CONFIG.Item.entityClass = Item5e; + + // Add DND5e namespace for module compatability + game.dnd5e = game.sw5e; + CONFIG.DND5E = CONFIG.SW5E; // Register System Settings registerSystemSettings();