mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-02 18:49:21 +02:00
7 lines
290 B
Lua
7 lines
290 B
Lua
function onUse(player, item, fromPosition, target, toPosition)
|
|
if item:getId() == 2772 and Game.isItemThere({x = 33145, y = 32863, z = 8}, 1650) then
|
|
Game.removeItemOnMap({x = 33145, y = 32863, z = 8}, 1650)
|
|
Game.createItem(1651, 1, {x = 33145, y = 32863, z = 8})
|
|
end
|
|
return true
|
|
end |