forked from MineClone5/MineClone5
No double-check of air in portal_nether.lua
This commit is contained in:
parent
486b84c7c8
commit
e9b2a26cd4
|
@ -330,9 +330,7 @@ local function make_portal(pos)
|
||||||
else
|
else
|
||||||
p = {x = p1.x, y = y, z = p1.z + d}
|
p = {x = p1.x, y = y, z = p1.z + d}
|
||||||
end
|
end
|
||||||
if minetest.get_node(p).name == "air" then
|
minetest.set_node(p, {name = "mcl_portals:portal", param2 = param2})
|
||||||
minetest.set_node(p, {name = "mcl_portals:portal", param2 = param2})
|
|
||||||
end
|
|
||||||
local meta = minetest.get_meta(p)
|
local meta = minetest.get_meta(p)
|
||||||
|
|
||||||
-- Portal frame corners
|
-- Portal frame corners
|
||||||
|
|
Loading…
Reference in New Issue