aboutsummaryrefslogtreecommitdiff
path: root/features/dataLoader
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-02-01 07:40:06 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-02-01 07:40:06 +0800
commitf724d7e9f5ec6d5e2f004a240f5117a41a752dc8 (patch)
tree1a9248bfb91b54ae2baf5a1aa291028d00e82995 /features/dataLoader
parentc99a5f49a423629dfd347c183dae611ea04bfd44 (diff)
downloadSoopyV2-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.js2
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(": ")){