1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 15:00:18 +01:00

Disallow screwdriver rotating torches, to avoid bad torch rotations

This commit is contained in:
An0n3m0us 2020-02-11 03:58:41 +00:00 committed by GitHub
parent 232cc2bd1c
commit 3ea648f5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({