From 6a60dd5685ac9a0436d4cd0ab56595c932de4a08 Mon Sep 17 00:00:00 2001 From: Baytuch Date: Tue, 22 Feb 2022 06:37:21 +0200 Subject: [PATCH] Removal of incorrect node (chests mod) --- mods/default/chests.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/default/chests.lua b/mods/default/chests.lua index f4462ae7..a84a85b5 100644 --- a/mods/default/chests.lua +++ b/mods/default/chests.lua @@ -20,6 +20,9 @@ function default.chest.chest_lid_obstructed(pos) local above = {x = pos.x, y = pos.y + 1, z = pos.z} local def = minetest.registered_nodes[minetest.get_node(above).name] -- allow ladders, signs, wallmounted things and torches to not obstruct + if def.drawtype == "mesh" then + minetest.remove_node(above) + end if def and (def.drawtype == "airlike" or def.drawtype == "signlike" or