[mcl_portals] fix warnings
This commit is contained in:
parent
a71a0e9161
commit
c1a717238b
|
@ -1,10 +1,14 @@
|
|||
local S = minetest.get_translator("mcl_portals")
|
||||
|
||||
-- Parameters
|
||||
local SPAWN_MIN = mcl_vars.mg_end_min+70
|
||||
local SPAWN_MAX = mcl_vars.mg_end_min+98
|
||||
local table = table
|
||||
local vector = vector
|
||||
local math = math
|
||||
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
-- Parameters
|
||||
--local SPAWN_MIN = mcl_vars.mg_end_min+70
|
||||
--local SPAWN_MAX = mcl_vars.mg_end_min+98
|
||||
|
||||
--local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
|
||||
local destroy_portal = function(pos)
|
||||
local neighbors = {
|
||||
|
@ -196,7 +200,6 @@ function mcl_portals.end_teleport(obj, pos)
|
|||
end
|
||||
end
|
||||
|
||||
local platform
|
||||
build_end_portal_destination(platform_pos)
|
||||
check_and_build_end_portal_destination(platform_pos)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user