aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-23 17:20:03 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-23 17:20:03 +0200
commit9a3620ea19f08104cc97560bb16feb2092b85847 (patch)
tree356a5df81b8d592a78eed210ec0ea3679c86150a /src/main/java/at/hannibal2
parenta8be86761f6302894346498df121a499be3f93ad (diff)
downloadskyhanni-9a3620ea19f08104cc97560bb16feb2092b85847.tar.gz
skyhanni-9a3620ea19f08104cc97560bb16feb2092b85847.tar.bz2
skyhanni-9a3620ea19f08104cc97560bb16feb2092b85847.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2')
-rwxr-xr-xsrc/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt
index ad03a7784..171df87e7 100755
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt
@@ -30,7 +30,7 @@ object GardenYawAndPitch {
if (GardenAPI.toolInHand == null && !config.showWithoutTool) return
val player = Minecraft.getMinecraft().thePlayer
- var yaw = LocationUtils.calculatePlayerYaw()
+ val yaw = LocationUtils.calculatePlayerYaw()
val pitch = player.rotationPitch
if (yaw != lastYaw || pitch != lastPitch) {