aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2021-11-26 14:42:53 +0900
committersyeyoung <cyoung06@naver.com>2021-11-26 14:42:53 +0900
commit6a56f88114e79de7f5c7ce88853bf14afa282acd (patch)
treedde351a8506553249f8320985405e0f826f129e5 /src/main/java/kr
parent66185662891ff423c2cc2c762b780c96e1ad6d35 (diff)
downloadSkyblock-Dungeons-Guide-6a56f88114e79de7f5c7ce88853bf14afa282acd.tar.gz
Skyblock-Dungeons-Guide-6a56f88114e79de7f5c7ce88853bf14afa282acd.tar.bz2
Skyblock-Dungeons-Guide-6a56f88114e79de7f5c7ce88853bf14afa282acd.zip
- Occasional NPE when objectMouseOver == null
Diffstat (limited to 'src/main/java/kr')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
index 6f944038..e5a3c086 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
@@ -174,6 +174,7 @@ public class GeneralRoomProcessor implements RoomProcessor {
if (FeatureRegistry.ADVANCED_ROOMEDIT.isEnabled() && FeatureRegistry.DEBUG.isEnabled()) {
FontRenderer fr = Minecraft.getMinecraft().fontRendererObj;
+ if (Minecraft.getMinecraft().objectMouseOver == null) return;
Entity en = Minecraft.getMinecraft().objectMouseOver.entityHit;
if (en == null) return;