diff options
author | syeyoung <cyoung06@naver.com> | 2021-11-26 14:42:53 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2021-11-26 14:42:53 +0900 |
commit | 6a56f88114e79de7f5c7ce88853bf14afa282acd (patch) | |
tree | dde351a8506553249f8320985405e0f826f129e5 /src/main/java/kr | |
parent | 66185662891ff423c2cc2c762b780c96e1ad6d35 (diff) | |
download | Skyblock-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-x | src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java | 1 |
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; |