From 3ea648f5bf8ef8226db9f9c6306d511f6844baf6 Mon Sep 17 00:00:00 2001 From: An0n3m0us Date: Tue, 11 Feb 2020 03:58:41 +0000 Subject: [PATCH] Disallow screwdriver rotating torches, to avoid bad torch rotations --- mods/default/torch.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/default/torch.lua b/mods/default/torch.lua index bf020148..c06dee8f 100644 --- a/mods/default/torch.lua +++ b/mods/default/torch.lua @@ -71,6 +71,7 @@ minetest.register_node("default:torch", { end, floodable = true, on_flood = on_flood, + on_rotate = false }) minetest.register_node("default:torch_wall", { @@ -94,6 +95,7 @@ minetest.register_node("default:torch_wall", { sounds = default.node_sound_wood_defaults(), floodable = true, on_flood = on_flood, + on_rotate = false }) minetest.register_node("default:torch_ceiling", { @@ -117,6 +119,7 @@ minetest.register_node("default:torch_ceiling", { sounds = default.node_sound_wood_defaults(), floodable = true, on_flood = on_flood, + on_rotate = false }) minetest.register_lbm({ -- 2.25.1