From b278da5bcf3780c625a02ea4fd0ac69d8a6abbfb Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 25 Aug 2019 00:19:45 +0200 Subject: [PATCH] Remove useless node sets in make_entrance --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 1daa159..9670669 100644 --- a/init.lua +++ b/init.lua @@ -135,7 +135,7 @@ local function make_entrance(pos, rot, brick, sand, flood_sand) minetest.remove_node(way_dir) end -- build decoration above entrance - if ie >=3 and iy == 3 then + if ie == 3 and iy == 3 then local deco = {x=way_dir.x, y=way_dir.y+1,z=way_dir.z} minetest.set_node(deco, {name=brick}) if rot == 0 or rot == 2 then