diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/ClickTP.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/ClickTP.java index b5c9a77fad..080985e2a3 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/ClickTP.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/ClickTP.java @@ -48,6 +48,7 @@ private void onTick(TickEvent.Post event) { if (mc.options.useKey.isPressed()) { + // ensure compatibility to freecam mods which change the cameraEntity Entity rayStart = mc.cameraEntity == null ? mc.player : mc.cameraEntity; Vec3d startPos = rayStart.getCameraPosVec(1f/20f);