Ajout du support pour torches murales
This commit is contained in:
parent
094974d5ab
commit
0424a6760a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user