Skip to content

Commit

Permalink
fix: vanilla health update event
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomzzz committed Jul 26, 2024
1 parent 85d3d40 commit 995ec57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ internal object MaxHealthTaskBuilder : VanillaAttTaskBuilder("max-health", Bukki
getAttribute(BukkitAttribute.MAX_HEALTH)?.apply {
clear()
}
VanillaAttributeUpdateEvent(entity, BukkitAttribute.MAX_HEALTH, value).call()
maxHealth = value
VanillaAttributeUpdateEvent(entity, BukkitAttribute.MAX_HEALTH, value).call()
}
}
}
Expand Down

0 comments on commit 995ec57

Please sign in to comment.