aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test/command
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-02 20:38:55 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-02 20:38:55 +0100
commitee0ae23560e911fbec5e5262feaaa58dc5d52e7a (patch)
treeecd2221d199c8768aae9442c4c81922b0e0352f1 /src/main/java/at/hannibal2/skyhanni/test/command
parent6173d681603839168db97e3fbd2cb74c2e7a2897 (diff)
downloadskyhanni-ee0ae23560e911fbec5e5262feaaa58dc5d52e7a.tar.gz
skyhanni-ee0ae23560e911fbec5e5262feaaa58dc5d52e7a.tar.bz2
skyhanni-ee0ae23560e911fbec5e5262feaaa58dc5d52e7a.zip
Created EntityMaxHealthUpdateEvent, started with better logic for colored mobs.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/command')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt
index 8fd9a45c8..bd13a60fe 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt
@@ -61,7 +61,7 @@ object CopyNearbyEntitiesCommand {
if (entity is EntityLivingBase) {
resultList.add("EntityLivingBase:")
- val baseMaxHealth = entity.baseMaxHealth.toInt()
+ val baseMaxHealth = entity.baseMaxHealth
val health = entity.health.toInt()
resultList.add("- baseMaxHealth: $baseMaxHealth")
resultList.add("- health: $health")