If you uncancel EntityResurrectEvent and don't put a totem of undying in their hand, these errors will occur
[21:58:42] Billy: i just followed the stack, RoboMWM, and its trying to subtract the amount from an item that isnt there (totem of undying)
[22:13:44] Billy: heres your bug, RoboMWM: line 982 sets null stack, 987 never finds a Items.cY (totem of undying) so flag stays false, you uncancel the event fired at 996, which sets the flag to true at 997, thus triggering a subtraction on a null item on line 1000
[22:13:49] Billy: https://gyazo.com/9fc40381e59d082d5b5dfdf0e57bc679