[SPIGOT-3457] Yellow hearts gets no update with e.damage(damageAmount,damager) Created: 25/Jul/17 Updated: 26/Jul/17 Resolved: 26/Jul/17 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Flavio | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | 1.12, ABSORPTION, Spigot, damage |
Attachments: |
![]() |
Description |
using damage(amount,entity) from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Damageable.html there is a clientside bug, if the damaged player has ABSORPTION effect active yellow hearths do not get any update, and will last even after death until an update is given (ex: applying again absorbition effect)
on the video (sorry was made by cell) the player is hitted using damage(...) yellow hearths wont change as showed |
Comments |
Comment by md_5 [ 26/Jul/17 ] |
event.getPlayer().damage( 2, event.getPlayer() ); Takes absorbtion hearts as expected |