mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 17:49:20 +02:00
8 lines
204 B
Lua
8 lines
204 B
Lua
function onRemoveItem(item, tileitem, position)
|
|
if item:getPosition():getDistance(position) > 0 then
|
|
item:transform(3481, 1)
|
|
item:decay()
|
|
item:getPosition():sendMagicEffect(3)
|
|
end
|
|
return true
|
|
end |