rolandoislas / multi-hotbar

Multiple hotbars for Minecraft
http://minecraft.curseforge.com/projects/multi-hotbar
Other
13 stars 4 forks source link

NPE on Death #20

Closed rolandoislas closed 7 years ago

rolandoislas commented 7 years ago

Version: multihotbar{2.1.3} [Multi-Hotbar] (multihotbar-1.11.2-2.1.3-build-T44.jar) e9b690cee18d0505641d6650a9d6d6f0a089eb82

Similar to #19.

crash-2017-03-09_18.44.20-server.txt

rolandoislas commented 7 years ago

Reproduce:

The death event will fire before the client finishes loading the world and player resulting in the null pointer for the local player. This is the same reason for a null point in #19 but with an item pickup firing instead of a death event.

rolandoislas commented 7 years ago

Mouse, key, and player tick events do not seem to have this issue.