Thanks for pointing that out.... looks like my real problem is the item held is an array (as returns the off hand also)... I have got it working now THANKS ?
the issue is this is returning the error when I am holding something.
I want to use this field to determine when a mob is killed by a specific weapon, if the death doesn't involve the specific weapon i can ignore it.
Hi, I am having problems when trying to get the name of the item used to kill mobs. In my testing (see attached image) getSource is working but getTrueSource and getHeldEquipment is not. What do I need to do to get this working?