mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 17:49:20 +02:00
12 lines
211 B
Lua
12 lines
211 B
Lua
function onStepIn(creature, item, position, fromPosition)
|
|
local player = creature:getPlayer()
|
|
if not player then
|
|
return true
|
|
end
|
|
|
|
position.y = position.y - 1
|
|
player:teleportTo(position)
|
|
|
|
return true
|
|
end
|