diff --git a/src/main/java/ftbsc/bscv/modules/self/Immovable.java b/src/main/java/ftbsc/bscv/modules/self/Immovable.java index b01a14e..b27b117 100644 --- a/src/main/java/ftbsc/bscv/modules/self/Immovable.java +++ b/src/main/java/ftbsc/bscv/modules/self/Immovable.java @@ -59,7 +59,7 @@ public class Immovable extends AbstractModule { event.setCanceled(true); } - if (event.packet instanceof SEntityVelocityPacket && this.server.get()) { + if (MC.player != null && event.packet instanceof SEntityVelocityPacket && this.server.get()) { SEntityVelocityPacket packet = (SEntityVelocityPacket) event.packet; if (packet.getId() == MC.player.getId()) { event.setCanceled(true);