mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 01:29:21 +02:00
7 lines
198 B
Lua
7 lines
198 B
Lua
function onAddItem(item, tileitem, position)
|
|
if item:getType():isMovable() and Tile(position):getThingCount() == 2 then
|
|
item:getPosition():sendMagicEffect(3)
|
|
item:remove()
|
|
end
|
|
return true
|
|
end |