diff options
author | syeyoung <cyoung06@naver.com> | 2023-10-09 17:51:16 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-10-09 17:51:16 +0900 |
commit | aec3cfeeaf43c31f9f2a191aeca5e10b41bddf15 (patch) | |
tree | be72c0d284685c817788fdb36171d13e2c2848b3 /mod/src/main/java/kr/syeyoung/dungeonsguide | |
parent | 773b4e0620e4a5fed589076b53e47dba7461cef9 (diff) | |
download | Skyblock-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>
Diffstat (limited to 'mod/src/main/java/kr/syeyoung/dungeonsguide')
-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) { |