mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 09:39:20 +02:00
8 lines
225 B
Lua
8 lines
225 B
Lua
function onAddItem(item, tileitem, position)
|
|
if item:getId() == 2918 or item:getId() == 2917 then
|
|
tileitem:transform(6279, 1)
|
|
item:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN)
|
|
item:remove()
|
|
end
|
|
return true
|
|
end |