diff --git a/src/main/java/cloudburst/rejects/modules/Phase.java b/src/main/java/cloudburst/rejects/modules/Phase.java index fc83d7a..c8ac162 100644 --- a/src/main/java/cloudburst/rejects/modules/Phase.java +++ b/src/main/java/cloudburst/rejects/modules/Phase.java @@ -61,6 +61,7 @@ public class Phase extends Module { private void onCollisionShape(CollisionShapeEvent event) { if (mc.world == null || mc.player == null) return; if (mode.get() != Mode.CollisionShape) return; + if (event == null || event.pos == null) return; if (event.type != CollisionShapeEvent.CollisionType.BLOCK) return; if (event.pos.getY() < mc.player.getY()) { if (mc.player.isSneaking()) {