From 0e37188ad178ba229b559be474e47774ddfe430a Mon Sep 17 00:00:00 2001 From: kay27 Date: Fri, 26 Feb 2021 02:48:22 +0400 Subject: [PATCH] Fix https://git.minetest.land/MineClone2/MineClone2/issues/1108 --- mods/ITEMS/mcl_portals/portal_nether.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_portals/portal_nether.lua b/mods/ITEMS/mcl_portals/portal_nether.lua index 0a04fb709..7e23a9f7b 100644 --- a/mods/ITEMS/mcl_portals/portal_nether.lua +++ b/mods/ITEMS/mcl_portals/portal_nether.lua @@ -595,7 +595,7 @@ function mcl_portals.light_nether_portal(pos) -- Only allow to make portals in Overworld and Nether local dim = mcl_worlds.pos_to_dimension(pos) if dim ~= "overworld" and dim ~= "nether" then - return 0 + return false end local orientation = math.random(0, 1) for orientation_iteration = 1, 2 do