From 0424a6760a43fbc519de2c9b62bf8bc8d3c8d36a Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Wed, 7 Nov 2018 20:02:38 +0100 Subject: [PATCH] Ajout du support pour torches murales --- misc/forbid_underwater_torch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/forbid_underwater_torch.lua b/misc/forbid_underwater_torch.lua index a0b0af5..91db05a 100644 --- a/misc/forbid_underwater_torch.lua +++ b/misc/forbid_underwater_torch.lua @@ -1,5 +1,5 @@ minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack, pointed_thing) - if newnode.name ~= "default:torch" or minetest.get_item_group(oldnode.name, "water") == 0 then + if newnode.name ~= "default:torch" and newnode.name ~= "default:torch_wall" or minetest.get_item_group(oldnode.name, "water") == 0 then return end minetest.remove_node(pos, newnode)