Skip to content

Commit

Permalink
fix merge bug
Browse files Browse the repository at this point in the history
Signed-off-by: yuanlu <[email protected]>
  • Loading branch information
MineYuanlu committed Jan 15, 2024
1 parent fda6dd1 commit b9a25d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/net/wurstclient/hacks/AutoLightingHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b9a25d4

Please sign in to comment.