diff options
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java index 96445f7d..453402a3 100755 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java @@ -150,7 +150,10 @@ public class SkyblockStatus { } } - isOnDungeon = locationName.startsWith("The Catacombs") | foundDungeon; + if (locationName != null) + isOnDungeon = locationName.startsWith("The Catacombs") | foundDungeon; + else + isOnDungeon=false; } } |