From f724d7e9f5ec6d5e2f004a240f5117a41a752dc8 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 1 Feb 2022 07:40:06 +0800 Subject: fix null pointer exception + metadata update --- features/dataLoader/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/dataLoader') diff --git a/features/dataLoader/index.js b/features/dataLoader/index.js index 01bc26c..27ab173 100644 --- a/features/dataLoader/index.js +++ b/features/dataLoader/index.js @@ -78,7 +78,7 @@ class DataLoader extends Feature { this.stats["Area"] = undefined this.stats["Dungeon"] = undefined - if(TabList && TabList.getNames()){ + if(World.getWorld() && TabList.getNames()){ TabList.getNames().forEach(n=>{ n = ChatLib.removeFormatting(n) if(n.includes(": ")){ -- cgit