[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: File bug.mp4    

 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

Generated at Tue Apr 08 03:01:13 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.