From e9b2a26cd4860e3b83c9b561156c1c14687b9243 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 19 Sep 2017 14:15:31 +0200 Subject: [PATCH] No double-check of air in portal_nether.lua --- mods/ITEMS/mcl_portals/portal_nether.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mods/ITEMS/mcl_portals/portal_nether.lua b/mods/ITEMS/mcl_portals/portal_nether.lua index 74567c373e..4c8c77599b 100644 --- a/mods/ITEMS/mcl_portals/portal_nether.lua +++ b/mods/ITEMS/mcl_portals/portal_nether.lua @@ -330,9 +330,7 @@ local function make_portal(pos) else p = {x = p1.x, y = y, z = p1.z + d} end - if minetest.get_node(p).name == "air" then - minetest.set_node(p, {name = "mcl_portals:portal", param2 = param2}) - end + minetest.set_node(p, {name = "mcl_portals:portal", param2 = param2}) local meta = minetest.get_meta(p) -- Portal frame corners