From f0c15b225900c82006c0e4e66c96c871ac7cab48 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Nov 2020 17:43:39 +0100 Subject: [PATCH] update --- mods/advtrains/advtrains/p_mesecon_iface.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/advtrains/advtrains/p_mesecon_iface.lua b/mods/advtrains/advtrains/p_mesecon_iface.lua index 87e1c6d8..177112e9 100644 --- a/mods/advtrains/advtrains/p_mesecon_iface.lua +++ b/mods/advtrains/advtrains/p_mesecon_iface.lua @@ -6,7 +6,7 @@ if not mesecon then return end minetest.override_item("mesecons_switch:mesecon_switch_off", { groups = { dig_immediate=2, - save_in_nodedb=1, + save_in_at_nodedb=1, }, on_rightclick = function (pos, node) 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", { groups = { dig_immediate=2, - save_in_nodedb=1, + save_in_at_nodedb=1, not_in_creative_inventory=1, }, on_rightclick = function (pos, node) -- 2.25.1