-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
Using setCancelled(false) in an EntityResurrectEvent throws an AssertionError
https://paste.md-5.net/xagobonele.txt
This is caused by EntityLiving.java:995 using an empty item stack as a default value, and then subtracting 1 from that stack on EntityLiving.java:1012. I would check stack.isEmpty() before subtracting.
I've attached a plugin to reproduce this issue. Just teleport up and die by fall damage to get a stack trace in console (and no resurrection)