mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user