mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-29 22:30:23 +02:00
Replace on_rotate_horiz with on_rotate and paramtype2 = "4dir"
This raises the minimal Luanti/Minetest version to 5.7.0.
This commit is contained in:
committed by
SmallJoker
parent
b79962402b
commit
27072542cf
@ -99,8 +99,9 @@ do
|
||||
offstate = "mesecons:test_conductor_rot_off",
|
||||
}}
|
||||
mesecon.register_node("mesecons:test_conductor_rot", {
|
||||
paramtype2 = "4dir",
|
||||
description = "Rotatable Test Conductor",
|
||||
on_rotate = mesecon.on_rotate_horiz,
|
||||
on_rotate = mesecon.on_rotate,
|
||||
}, {mesecons = off_spec}, {mesecons = on_spec})
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user