diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-08 17:43:16 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-08 17:43:16 +0200 |
commit | 91de3099399e58581f53eacfde1fdd7a91532119 (patch) | |
tree | e553fb0f4e2bf11847ea63251cb7130c1f898f9d /src/main/java/at/hannibal2/skyhanni | |
parent | a9d313e284a9048d9ece4287737fdd764dc272a8 (diff) | |
download | skyhanni-91de3099399e58581f53eacfde1fdd7a91532119.tar.gz skyhanni-91de3099399e58581f53eacfde1fdd7a91532119.tar.bz2 skyhanni-91de3099399e58581f53eacfde1fdd7a91532119.zip |
Fixed yaw/pitch precision no longer works correctly.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rwxr-xr-x | src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt | 5 |
1 files changed, 2 insertions, 3 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 896213429..22152efa7 100755 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt @@ -5,7 +5,6 @@ import at.hannibal2.skyhanni.events.GardenToolChangeEvent import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.round -import at.hannibal2.skyhanni.utils.NumberUtil.addSeparators import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings import at.hannibal2.skyhanni.utils.SimpleTimeMark import net.minecraft.client.Minecraft @@ -40,8 +39,8 @@ class GardenYawAndPitch { if (!config.showAlways && lastChange.passedSince() > config.timeout.seconds) return - val yawText = yaw.round(config.yawPrecision).addSeparators() - val pitchText = pitch.round(config.pitchPrecision).addSeparators() + val yawText = yaw.round(config.yawPrecision) + val pitchText = pitch.round(config.pitchPrecision) val displayList = listOf( "§aYaw: §f$yawText", "§aPitch: §f$pitchText", |