From 91de3099399e58581f53eacfde1fdd7a91532119 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 8 Oct 2023 17:43:16 +0200 Subject: Fixed yaw/pitch precision no longer works correctly. --- .../java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt | 5 ++--- 1 file 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", -- cgit