diff options
author | utkuaydin01 <utkuaydin01@gmail.com> | 2023-05-11 19:54:04 +0300 |
---|---|---|
committer | utkuaydin01 <utkuaydin01@gmail.com> | 2023-05-11 19:54:04 +0300 |
commit | 24c91ab86ff8dda0b3205296e3b20040a6b60290 (patch) | |
tree | 425e20a6c0e393294446328347a4ca6097196f8f /src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt | |
parent | dac450a6bf943cd08d1acf91f64997f9644c0a57 (diff) | |
download | DulkirMod-24c91ab86ff8dda0b3205296e3b20040a6b60290.tar.gz DulkirMod-24c91ab86ff8dda0b3205296e3b20040a6b60290.tar.bz2 DulkirMod-24c91ab86ff8dda0b3205296e3b20040a6b60290.zip |
Added an option to show yaw display outside garden
Diffstat (limited to 'src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt index abed145..eb6555b 100644 --- a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt +++ b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt @@ -9,7 +9,9 @@ import dulkirmod.utils.Utils class YawDisplayHud : TextHud(false) { override fun getLines(lines: MutableList<String>?, example: Boolean) { if (!Utils.isInSkyblock()) return - if (TabListUtils.area != "Garden") return + if (!DulkirConfig.showYawEverywhere) { + if (TabListUtils.area != "Garden") return + } val pitch = mc.thePlayer.rotationPitch var yaw = mc.thePlayer.rotationYaw % 360f |