diff --git a/mods/nether/nether/portal.lua b/mods/nether/nether/portal.lua index 16671b26..98cb2c0b 100755 --- a/mods/nether/nether/portal.lua +++ b/mods/nether/nether/portal.lua @@ -145,7 +145,7 @@ minetest.register_chatcommand("from_hell", { local pos_togo = {x = 0, y = 35, z = -7} if minetest.setting_getbool("static_spawnpoint") ~= nil then local stsp_conf = minetest.setting_get("static_spawnpoint") - pos_togo = {x = stsp_conf:split(",")[1],y = stsp_conf:split(",")[2],z = stsp_conf:split(",")[3]} + pos_togo = {x = stsp_conf:split(",")[1]+0,y = stsp_conf:split(",")[2]+0,z = stsp_conf:split(",")[3]+0} end player:moveto(pos_togo) return true diff --git a/mods/whoison/init.lua b/mods/whoison/init.lua index bf3e868d..6b17e3db 100755 --- a/mods/whoison/init.lua +++ b/mods/whoison/init.lua @@ -111,7 +111,8 @@ minetest.register_chatcommand("timeonline",{ end end }) -minetest.register_chatcommand("timeonline", core.chatcommands["played"]) + +--minetest.register_chatcommand("timeonline", core.chatcommands["played"]) function breakdowntime(t) local countdown = t