aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/overlays
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-05-19 05:39:34 -0500
committeringlettronald <inglettronald@gmail.com>2023-05-19 05:39:34 -0500
commit7315266bdd84a2c0ec68f0934830a093c36dd995 (patch)
tree215dc844434563c7d5c9d2d260e69d1ee24a5c99 /src/main/kotlin/dulkirmod/overlays
parent6e1312acd491ea92144eff1da3652b968fd5fdcc (diff)
downloadDulkirMod-7315266bdd84a2c0ec68f0934830a093c36dd995.tar.gz
DulkirMod-7315266bdd84a2c0ec68f0934830a093c36dd995.tar.bz2
DulkirMod-7315266bdd84a2c0ec68f0934830a093c36dd995.zip
Added stuff for pitch/yaw outside garden
Diffstat (limited to 'src/main/kotlin/dulkirmod/overlays')
-rw-r--r--src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt
index eb6555b..458ebea 100644
--- a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt
+++ b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt
@@ -9,9 +9,8 @@ import dulkirmod.utils.Utils
class YawDisplayHud : TextHud(false) {
override fun getLines(lines: MutableList<String>?, example: Boolean) {
if (!Utils.isInSkyblock()) return
- if (!DulkirConfig.showYawEverywhere) {
- if (TabListUtils.area != "Garden") return
- }
+ if (!DulkirConfig.showYawEverywhere && TabListUtils.area != "Garden") return
+
val pitch = mc.thePlayer.rotationPitch
var yaw = mc.thePlayer.rotationYaw % 360f