diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-02-01 07:40:06 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-02-01 07:40:06 +0800 |
commit | f724d7e9f5ec6d5e2f004a240f5117a41a752dc8 (patch) | |
tree | 1a9248bfb91b54ae2baf5a1aa291028d00e82995 /features/dataLoader | |
parent | c99a5f49a423629dfd347c183dae611ea04bfd44 (diff) | |
download | SoopyV2-f724d7e9f5ec6d5e2f004a240f5117a41a752dc8.tar.gz SoopyV2-f724d7e9f5ec6d5e2f004a240f5117a41a752dc8.tar.bz2 SoopyV2-f724d7e9f5ec6d5e2f004a240f5117a41a752dc8.zip |
fix null pointer exception + metadata update
Diffstat (limited to 'features/dataLoader')
-rw-r--r-- | features/dataLoader/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(": ")){ |