aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-31 14:37:16 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-31 14:37:16 +0100
commit9e8b8eec454e23e139ed9150d7f19ca0e451c3b0 (patch)
tree434ab982e660b1ff639dc7d26819dc2c5a6109da /src
parent624bad4f41f62e58b3c3922eddf54944181d4b6e (diff)
downloadskyhanni-9e8b8eec454e23e139ed9150d7f19ca0e451c3b0.tar.gz
skyhanni-9e8b8eec454e23e139ed9150d7f19ca0e451c3b0.tar.bz2
skyhanni-9e8b8eec454e23e139ed9150d7f19ca0e451c3b0.zip
Fixed ender slayer laser phase timer being inaccurate in Damage Indicator.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt
index 791fbf9e4..2b6418a02 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt
@@ -660,8 +660,7 @@ class DamageIndicatorManager {
//Laser phase
if (config.enderSlayer.laserPhaseTimer && entity.ridingEntity != null) {
- //TODO more tests, more exact values, better logic? idk make this working perfectly pls
- val totalTimeAlive = 7.4.seconds
+ val totalTimeAlive = 8.2.seconds
val ticksAlive = entity.ridingEntity.ticksExisted.ticks
val remainingTime = totalTimeAlive - ticksAlive