From 31344fc364cde2cef243a49f1e7d4c4fbb390699 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 13 Jun 2024 21:50:16 +0200 Subject: formatting --- .../combat/damageindicator/DamageIndicatorManager.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') 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 d41431726..a3054af48 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 @@ -207,7 +207,7 @@ object DamageIndicatorManager { data.nameAbove, sizeNameAbove, -18f, - smallestDistanceVew = smallestDistanceVew + smallestDistanceVew = smallestDistanceVew, ) } @@ -245,7 +245,7 @@ object DamageIndicatorManager { finalResult, sizeFinalResults, diff, - smallestDistanceVew = smallestDistanceVew + smallestDistanceVew = smallestDistanceVew, ) diff += 9f } @@ -264,7 +264,7 @@ object DamageIndicatorManager { finalResult, sizeFinalResults, diff, - smallestDistanceVew = smallestDistanceVew + smallestDistanceVew = smallestDistanceVew, ) diff += 9f } @@ -303,7 +303,7 @@ object DamageIndicatorManager { if (now > damageCounter.firstTick + 1_000) { damageCounter.oldDamages.add( - 0, OldDamage(now, damageCounter.currentDamage, damageCounter.currentHealing) + 0, OldDamage(now, damageCounter.currentDamage, damageCounter.currentHealing), ) damageCounter.firstTick = 0L damageCounter.currentDamage = 0 @@ -440,7 +440,7 @@ object DamageIndicatorManager { entity as EntityMagmaCube, entityData, health.toInt(), - maxHealth.toInt() + maxHealth.toInt(), ) BossType.SLAYER_ZOMBIE_5 -> { @@ -529,7 +529,7 @@ object DamageIndicatorManager { } return NumberUtil.percentageColor( - calcHealth.toLong(), calcMaxHealth.toLong() + calcHealth.toLong(), calcMaxHealth.toLong(), ).getChatColor() + NumberUtil.format(calcHealth) } @@ -650,7 +650,7 @@ object DamageIndicatorManager { else -> return null } var result = NumberUtil.percentageColor( - calcHealth.toLong(), calcMaxHealth.toLong() + calcHealth.toLong(), calcMaxHealth.toLong(), ).getChatColor() + NumberUtil.format(calcHealth) if (!SkyHanniMod.feature.slayer.endermen.phaseDisplay) { @@ -831,7 +831,7 @@ object DamageIndicatorManager { entityResult.delayedStart?.asTimeMark(), entityResult.finalDungeonBoss, entityResult.bossType, - foundTime = SimpleTimeMark.now() + foundTime = SimpleTimeMark.now(), ) DamageIndicatorDetectedEvent(entityData).postAndCatch() return entityData -- cgit