#this crashes

1 messages · Page 1 of 1 (latest)

errant badge
#

Can you show your code for that entity?

restive sapphire
#

you have a null stack in RyuHeadEntity somewhere

#

ItemStack are supposed to be never null

humble plank
humble plank
restive sapphire
#

wdym you don't know what a null itemstack is?

#

that code is full of null stacks

humble plank
restive sapphire
#

to say that there are no armour bits around?

humble plank
restive sapphire
#

you return one of the values of the Arm enum

#

and fix getEquippedStack too

#

(that's what crashing you)