correction of the y coordinate when teleporting back from .day

master
Och Noe 2021-05-20 20:02:28 +02:00
parent 7f7493738f
commit cb16b380ef
1 changed files with 2 additions and 2 deletions

View File

@ -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