mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 09:39:20 +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(2)
|
|
item:remove()
|
|
end
|
|
return true
|
|
end |