mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
This commit is contained in:
parent
3406342ed0
commit
0e37188ad1
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ function mcl_portals.light_nether_portal(pos)
|
||||||
-- Only allow to make portals in Overworld and Nether
|
-- Only allow to make portals in Overworld and Nether
|
||||||
local dim = mcl_worlds.pos_to_dimension(pos)
|
local dim = mcl_worlds.pos_to_dimension(pos)
|
||||||
if dim ~= "overworld" and dim ~= "nether" then
|
if dim ~= "overworld" and dim ~= "nether" then
|
||||||
return 0
|
return false
|
||||||
end
|
end
|
||||||
local orientation = math.random(0, 1)
|
local orientation = math.random(0, 1)
|
||||||
for orientation_iteration = 1, 2 do
|
for orientation_iteration = 1, 2 do
|
||||||
|
|
Loading…
Reference in a new issue