aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-10-09 17:51:16 +0900
committersyeyoung <cyoung06@naver.com>2023-10-09 17:51:16 +0900
commitaec3cfeeaf43c31f9f2a191aeca5e10b41bddf15 (patch)
treebe72c0d284685c817788fdb36171d13e2c2848b3
parent773b4e0620e4a5fed589076b53e47dba7461cef9 (diff)
downloadSkyblock-Dungeons-Guide-aec3cfeeaf43c31f9f2a191aeca5e10b41bddf15.tar.gz
Skyblock-Dungeons-Guide-aec3cfeeaf43c31f9f2a191aeca5e10b41bddf15.tar.bz2
Skyblock-Dungeons-Guide-aec3cfeeaf43c31f9f2a191aeca5e10b41bddf15.zip
- fix small npe bug in dg listener
Signed-off-by: syeyoung <cyoung06@naver.com>
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/events/listener/DungeonListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/events/listener/DungeonListener.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/events/listener/DungeonListener.java
index 818efb1a..811f1678 100755
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/events/listener/DungeonListener.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/events/listener/DungeonListener.java
@@ -531,7 +531,7 @@ public class DungeonListener {
DungeonContext context = DungeonsGuide.getDungeonsGuide().getDungeonFacade().getContext();
- if (DungeonsGuide.getDungeonsGuide().getDungeonFacade() != null) {
+ if (context != null) {
EntityPlayerSP thePlayer = Minecraft.getMinecraft().thePlayer;
if (context.getBossfightProcessor() != null) {