correction of the y coordinate when teleporting back from .day
parent
7f7493738f
commit
cb16b380ef
4
init.lua
4
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
|
||||
|
|
Loading…
Reference in New Issue