Skip to content

Commit

Permalink
update clickTP to work in freecam comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RiederBernhard committed Oct 16, 2023
1 parent 9ae6d0a commit 8961829
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8961829

Please sign in to comment.