2019-01-16 17:16:38 -05:00

6 lines
191 B
Lua

function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and creature:getPlayer():getStorageValue(64) < 1 then
creature:getPlayer():setStorageValue(64,1)
end
end