mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-21 09:33:26 +02:00
shared party exp to 10 players and rope hole functionality like in 7.4
This commit is contained in:
@@ -18,7 +18,7 @@ function onUse(player, item, fromPosition, target, toPosition)
|
||||
return false
|
||||
end
|
||||
|
||||
if table.contains(ropeSpots, tile:getGround():getId()) then
|
||||
if table.contains(ropeSpots, tile:getGround():getId()) and tile:getThingCount() <= 1 then
|
||||
player:teleportTo(target:getPosition():moveRel(0, 1, -1))
|
||||
return true
|
||||
elseif table.contains(holeSpots, tile:getGround():getId()) or target:getId() == 435 then
|
||||
|
Reference in New Issue
Block a user