diff --git a/torch.js b/torch.js index 3beef5b..554521c 100644 --- a/torch.js +++ b/torch.js @@ -101,7 +101,7 @@ Hooks.on("ready", () => { Hooks.once("init", () => { // Only load and initialize test suite if we're in a test environment - if (game.world.data.name.startsWith("torch-test-")) { + if (game.world.id.startsWith("torch-test-")) { Torch.setupQuenchTesting(); } Settings.register();