mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 10:09:20 +02:00
12 lines
380 B
Lua
12 lines
380 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
if creature:isPlayer() and creature:getPlayer():isDruid() then
|
|
doRelocate(item:getPosition(),{x = 32851, y = 32339, z = 06})
|
|
else
|
|
doRelocate(item:getPosition(),{x = 32836, y = 32294, z = 07})
|
|
end
|
|
end
|
|
|
|
function onAddItem(item, tileitem, position)
|
|
doRelocate(item:getPosition(),{x = 32836, y = 32294, z = 07})
|
|
end
|