[SPIGOT-7365] DamageCause blocked by shield should trigger invulnerableTime Created: 01/Jun/23 Updated: 25/Dec/24 Resolved: 17/Mar/24 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Kami Rori | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | bug, entity, spigot |
Version: | CraftBukkit version 3760-Spigot-7d7b241-1f2dd8e (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
damageEntity0() method in LivingEntity will return false when the damage is blocked by a shield. But in Vanilla server, the damage blocked by shield will still trigger the victim's invulnerableTime and makes an entity damage sound (But the knock back will not be called). |