SleepyTrousers / EnderZoo

Creative Commons Zero v1.0 Universal
28 stars 28 forks source link

maybe this will fix #180 #181

Closed Lothrazar closed 7 years ago

Lothrazar commented 7 years ago

See issue here.

I couldnt replicate without Walia but its just a simple NPE https://github.com/SleepyTrousers/EnderZoo/issues/180

HenryLoenwind commented 7 years ago

I would prefer if the armor field was properly initialized with EMPTY instead.

Also, readEntityFromNBT() is missing an `else { armor = EMPTY }'. While it shouldn't happen that this is called on an already initialized entity, with moded you can never be sure...