Skip to content
Permalink
Browse files

Disallow screwdriver rotating torches, to avoid bad torch rotations

  • Loading branch information
An0n3m0us committed Feb 11, 2020
1 parent 232cc2b commit 3ea648f5bf8ef8226db9f9c6306d511f6844baf6
Showing with 3 additions and 0 deletions.
  1. +3 −0 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({

0 comments on commit 3ea648f

Please sign in to comment.
You can’t perform that action at this time.