No double-check of air in portal_nether.lua

This commit is contained in:
Wuzzy 2017-09-19 14:15:31 +02:00
parent 486b84c7c8
commit e9b2a26cd4

@ -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
local meta = minetest.get_meta(p)
-- Portal frame corners