From d625fa734b629fef3bac5c5a0519bd6f828fc743 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 20 May 2017 04:13:57 +0200 Subject: [PATCH] Destroy lever by flowing lava, too --- mods/ITEMS/REDSTONE/mesecons_walllever/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_walllever/init.lua b/mods/ITEMS/REDSTONE/mesecons_walllever/init.lua index ac246770e2..b75c7b9dfc 100644 --- a/mods/ITEMS/REDSTONE/mesecons_walllever/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_walllever/init.lua @@ -27,7 +27,7 @@ minetest.register_node("mesecons_walllever:wall_lever_off", { fixed = {{ -2/16, -3/16, 8/16, 2/16, 3/16, 4/16 }, -- the base { -1/16, -8/16, 7/16, 1/16, 0/16, 5/16 }} -- the lever itself. }, - groups = {handy=1, dig_by_water=1, dig_by_piston=1}, + groups = {handy=1, dig_by_water=1, destroy_by_lava_flow=1, dig_by_piston=1}, is_ground_content = false, description="Lever", _doc_items_longdesc = "A lever is a redstone component which can be flipped on and off. It supplies redstone power to the blocks behind while it is in the “on” state.", @@ -70,7 +70,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", { fixed = {{ -2/16, -3/16, 8/16, 2/16, 3/16, 4/16 }, -- the base { -1/16, 0/16, 7/16, 1/16, 8/16, 5/16 }} -- the lever itself. }, - groups = {handy=1, not_in_creative_inventory = 1, dig_by_water=1, dig_by_piston=1}, + groups = {handy=1, not_in_creative_inventory = 1, dig_by_water=1, destroy_by_lava_flow=1, dig_by_piston=1}, is_ground_content = false, drop = '"mesecons_walllever:wall_lever_off" 1', description="Lever",