[SPIGOT-3905] armor durability is reduced when inflicting 0 damage Created: 16/Apr/18 Updated: 17/Apr/18 Resolved: 16/Apr/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | CdS | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | Craftbukkit, Durability, Spigot, armor, attack, damage |
Description |
When a player gets hit by an entity inflicting 0 damage because of the weakness effect, the armor durability is still reduced by 1 point. |
Comments |
Comment by CdS [ 17/Apr/18 ] |
But according to my testing in Vanilla, the armor still doesn't get damaged. |
Comment by md_5 [ 16/Apr/18 ] |
Looks to be intended by Vanilla - any damage less than 0 is scaled to 1 for armor purposes. |