update #21

Merged
milan merged 1 commit from develop into master 2020-11-25 17:21:12 +01:00
Showing only changes of commit f0c15b2259 - Show all commits

View file

@ -6,7 +6,7 @@ if not mesecon then return end
minetest.override_item("mesecons_switch:mesecon_switch_off", { minetest.override_item("mesecons_switch:mesecon_switch_off", {
groups = { groups = {
dig_immediate=2, dig_immediate=2,
save_in_nodedb=1, save_in_at_nodedb=1,
}, },
on_rightclick = function (pos, node) on_rightclick = function (pos, node)
advtrains.ndb.swap_node(pos, {name="mesecons_switch:mesecon_switch_on", param2=node.param2}) advtrains.ndb.swap_node(pos, {name="mesecons_switch:mesecon_switch_on", param2=node.param2})
@ -30,7 +30,7 @@ minetest.override_item("mesecons_switch:mesecon_switch_off", {
minetest.override_item("mesecons_switch:mesecon_switch_on", { minetest.override_item("mesecons_switch:mesecon_switch_on", {
groups = { groups = {
dig_immediate=2, dig_immediate=2,
save_in_nodedb=1, save_in_at_nodedb=1,
not_in_creative_inventory=1, not_in_creative_inventory=1,
}, },
on_rightclick = function (pos, node) on_rightclick = function (pos, node)