diff options
-rwxr-xr-x | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/events/listener/DungeonListener.java | 2 |
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) { |