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