diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/player/AntiForceLook.java b/src/main/java/me/zeroeightsix/kami/module/modules/player/AntiForceLook.java index 22e3e492..21b5dbcd 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/player/AntiForceLook.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/player/AntiForceLook.java @@ -14,6 +14,7 @@ public class AntiForceLook extends Module { @EventHandler Listener receiveListener = new Listener<>(event -> { + if (mc.player == null) return; if (event.getPacket() instanceof SPacketPlayerPosLook) { SPacketPlayerPosLook packet = (SPacketPlayerPosLook) event.getPacket(); packet.yaw = mc.player.rotationYaw;