aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt')
-rw-r--r--src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt4
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