From cb16b380efc63a3cc20e22af83ebf54c614a63b2 Mon Sep 17 00:00:00 2001 From: Och Noe Date: Thu, 20 May 2021 20:02:28 +0200 Subject: correction of the y coordinate when teleporting back from .day --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index d8a1e42..e907328 100644 --- a/init.lua +++ b/init.lua @@ -4,7 +4,7 @@ local mod_name = minetest.get_current_modname() -local mod_version = "2.7" +local mod_version = "2.8" local function log(level, message) minetest.log(level, ('[%s] %s'):format(mod_name, message)) @@ -320,7 +320,7 @@ end local function teleport_day_back(x,y,z) minetest.run_server_chatcommand('teleport', - string.format("%d %d %d",x,y,z) + string.format("%d %d %d",x,y+1,z) ) return end -- cgit v1.2.3