From 9e8b8eec454e23e139ed9150d7f19ca0e451c3b0 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 31 Jan 2024 14:37:16 +0100 Subject: Fixed ender slayer laser phase timer being inaccurate in Damage Indicator. --- .../skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 -- cgit