[ERROR] Attempt to call method 'isItem' (a nil value)
Closed this issue · 3 comments
luanluciano93 commented
Lua Script Error: [Action Interface]
data/actions/scripts/other/destroy.lua:onUse
data/actions/lib/actions.lua:89: attempt to call method 'isItem' (a nil value)
stack traceback:
[C]: in function 'isItem'
data/actions/lib/actions.lua:89: in function <data/actions/lib/actions.lua:88>
(...tail calls...)
dbjorkholm commented
How do you reproduce this?
luanluciano93 commented
this report on my server, 100 + players, do not know how to reproduce it
dbjorkholm commented
You're probably missing the Creature method isItem.
https://github.com/orts/server/blob/master/data/lib/core/creature.lua#L38-40