mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2025-11-17 07:45:29 +01:00
prevent invalid rotations and add on_rotate callbacks
This commit is contained in:
@@ -45,10 +45,11 @@ mesecon.register_node("moremesecons_conductor_signalchanger:conductor_signalchan
|
||||
inventory_image = "moremesecons_conductor_signalchanger_off.png",
|
||||
groups = {dig_immediate = 2},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
paramtype2 = "4dir",
|
||||
drawtype = "nodebox",
|
||||
selection_box = nodebox,
|
||||
node_box = nodebox,
|
||||
on_rotate = mesecon.on_rotate,
|
||||
},{
|
||||
groups = {dig_immediate = 2},
|
||||
mesecons = {
|
||||
|
||||
Reference in New Issue
Block a user