diff options
author | Appability <appable@icloud.com> | 2022-11-13 23:39:33 -0800 |
---|---|---|
committer | Appability <appable@icloud.com> | 2022-11-13 23:39:33 -0800 |
commit | 7cdbe4dcbb8ae7e31dc9b881f347cd54662c845a (patch) | |
tree | 4b8137b343739a20b9799eb06ae0d31060175c10 /src/main/kotlin/com/ambientaddons/features/misc | |
parent | f290d5285cb92dd427726cdc203156187690f068 (diff) | |
download | AmbientAddons-7cdbe4dcbb8ae7e31dc9b881f347cd54662c845a.tar.gz AmbientAddons-7cdbe4dcbb8ae7e31dc9b881f347cd54662c845a.tar.bz2 AmbientAddons-7cdbe4dcbb8ae7e31dc9b881f347cd54662c845a.zip |
render on top of wither shield actually
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/features/misc')
-rw-r--r-- | src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt b/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt index ce468eb..f850a36 100644 --- a/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt +++ b/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt @@ -73,7 +73,7 @@ object Trapper { val display = "§a${ceil(diff).roundToInt()}" val resolution = ScaledResolution(mc) val x = resolution.scaledWidth / 2 + 1 - val y = resolution.scaledHeight / 2 - 20 + val y = resolution.scaledHeight / 2 + 10 val style = TextStyle.fromInt(config.trapperCooldown - 1) ?: return OverlayUtils.drawString(x, y, display, style, Alignment.Center) } |