aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-13 21:50:16 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-13 21:50:16 +0200
commit31344fc364cde2cef243a49f1e7d4c4fbb390699 (patch)
tree2736d7f215cae69dfc11487accbf3d715b0290d5 /src/main/java/at/hannibal2/skyhanni/features
parent5bd6a4cd3807d128ba55c336946531a8838c51c7 (diff)
downloadskyhanni-31344fc364cde2cef243a49f1e7d4c4fbb390699.tar.gz
skyhanni-31344fc364cde2cef243a49f1e7d4c4fbb390699.tar.bz2
skyhanni-31344fc364cde2cef243a49f1e7d4c4fbb390699.zip
formatting
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt16
1 files changed, 8 insertions, 8 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 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