From 645d3afa4892d8fade3951121e7a0e878d1964df Mon Sep 17 00:00:00 2001 From: crabman77 Date: Mon, 24 Aug 2015 01:42:31 +0200 Subject: [PATCH] fixed sethome pos.y+1 https://github.com/MinetestForFun/minetest-minetestforfun-server/issues/237 --- minetestforfun_game/mods/sethome/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/minetestforfun_game/mods/sethome/init.lua b/minetestforfun_game/mods/sethome/init.lua index c6181abe..4f0f50bb 100755 --- a/minetestforfun_game/mods/sethome/init.lua +++ b/minetestforfun_game/mods/sethome/init.lua @@ -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"