diff options
Diffstat (limited to 'src/main/java/rosegoldaddons/features/EntityReach.java')
-rw-r--r-- | src/main/java/rosegoldaddons/features/EntityReach.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/rosegoldaddons/features/EntityReach.java b/src/main/java/rosegoldaddons/features/EntityReach.java index 21a4691..97a1c09 100644 --- a/src/main/java/rosegoldaddons/features/EntityReach.java +++ b/src/main/java/rosegoldaddons/features/EntityReach.java @@ -55,6 +55,7 @@ public class EntityReach { @SubscribeEvent public void renderWorld(RenderWorldLastEvent event) { + if(Main.mc.thePlayer == null || Main.mc.theWorld == null) return; if (!Main.configFile.entityReach) return; if (toInteract != null) { Entity stand = getClosestArmorStand(toInteract); |