[SPIGOT-3813] player.setHealth doen't work reliable Created: 11/Feb/18 Updated: 11/Feb/18 Resolved: 11/Feb/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Lorenz Lindemann | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | health, spigot | ||
Environment: |
Spigot-Server: spigot-1.12.2 |
Description |
I've encountered a Bug in a Plugin I currently develop. I couldn't find an an solution for so I've decided to create an Test-Plugin which only has two simple Commands. Command "join": p.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(6); Command "leave": p.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(20); p.setHealth(20); Expected behaviour: Result:
|