I have a strange error in onDeath function, obviously if you died is because someone killed you, and in the event, giving this error saying that the value of the 'killer' is null, why?
data/creaturescripts/scripts/others/droploot.lua:9: attempt to index local 'killer' (a nil value)
I have a strange error in onDeath function, obviously if you died is because someone killed you, and in the event, giving this error saying that the value of the 'killer' is null, why?
data/creaturescripts/scripts/others/droploot.lua:9: attempt to index local 'killer' (a nil value)