From b9a25d49dffc30f1bb6ac1b9cad2b896be007d53 Mon Sep 17 00:00:00 2001 From: yuanlu <2573580691@qq.com> Date: Tue, 16 Jan 2024 00:19:15 +0800 Subject: [PATCH] fix merge bug Signed-off-by: yuanlu <2573580691@qq.com> --- src/main/java/net/wurstclient/hacks/AutoLightingHack.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/wurstclient/hacks/AutoLightingHack.java b/src/main/java/net/wurstclient/hacks/AutoLightingHack.java index 86e85903f9..f84913f524 100644 --- a/src/main/java/net/wurstclient/hacks/AutoLightingHack.java +++ b/src/main/java/net/wurstclient/hacks/AutoLightingHack.java @@ -329,9 +329,9 @@ private boolean placeBlock() MC.player.getInventory().selectedSlot = newSlot; var rotation = RotationUtils.getNeededRotations(hitVec); - MC.player.networkHandler.sendPacket( - new PlayerMoveC2SPacket.LookAndOnGround(rotation.getYaw(), - rotation.getPitch(), MC.player.isOnGround())); + MC.player.networkHandler + .sendPacket(new PlayerMoveC2SPacket.LookAndOnGround(rotation.yaw(), + rotation.pitch(), MC.player.isOnGround())); IMC.getInteractionManager().rightClickBlock(down, up, hitVec); MC.player.swingHand(Hand.MAIN_HAND); MC.itemUseCooldown = 4;