mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
Removal of incorrect node (chests mod)
This commit is contained in:
parent
8c01a5b288
commit
6a60dd5685
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue