mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
fixed sethome pos.y+1
https://github.com/MinetestForFun/minetest-minetestforfun-server/issues/237
This commit is contained in:
parent
09a91b455e
commit
645d3afa48
@ -8,6 +8,7 @@ home.time = 20 * 60
|
||||
home.sethome = function(name)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
local pos = player:getpos()
|
||||
pos.y = pos.y+1
|
||||
local p_status = "real"
|
||||
if pos.y < -19600 then
|
||||
p_status = "nether"
|
||||
|
Loading…
Reference in New Issue
Block a user