aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-28 16:20:40 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-28 16:20:40 +0200
commit91aed4f2a0fabea739d0c65f68440c6f44380a39 (patch)
treed7ed25b4f7c41fac42edbf5a2f37fd8190f91d5b /src/main/java/at
parent9239e161ba6f8f6b0a279d94db1e9144170ae83c (diff)
downloadskyhanni-91aed4f2a0fabea739d0c65f68440c6f44380a39.tar.gz
skyhanni-91aed4f2a0fabea739d0c65f68440c6f44380a39.tar.bz2
skyhanni-91aed4f2a0fabea739d0c65f68440c6f44380a39.zip
Changed the enderman slayer lazer timer to be more exact
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
index 068257d95..e27de7249 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
@@ -642,7 +642,7 @@ class DamageIndicatorManager {
val ticksAlive = entity.ridingEntity.ticksExisted.toLong()
//TODO more tests, more exact values, better logic? idk make this working perfectly pls
//val remainingTicks = 8 * 20 - ticksAlive
- val remainingTicks = (8.9 * 20).toLong() - ticksAlive
+ val remainingTicks = (7.4 * 20).toLong() - ticksAlive
if (config.enderSlayer.showHealthDuringLaser) {
entityData.nameSuffix = " §f" + formatDelay(remainingTicks * 50)