fix on def beeing in creative inventory

This commit is contained in:
AFCMS 2021-06-12 15:14:32 +02:00
parent 692bf61dfa
commit 3912928a1a

@ -105,9 +105,9 @@ end
if has_mcl_core then
--on_def.groups = {cracky = 2, mesecon_detector_off = 1, mesecon = 2}
on_def.groups = {handy = 1, mesecon_detector_on = 1, mesecon = 2}
on_def.groups = {handy = 1, mesecon_detector_on = 1, mesecon = 2, not_in_creative_inventory = 1}
else
on_def.groups = {cracky = 2, mesecon_detector_on = 1, mesecon = 2}
on_def.groups = {cracky = 2, mesecon_detector_on = 1, mesecon = 2, not_in_creative_inventory = 1}
end
minetest.register_node("mesecons_onlinedetector:online_detector_on", on_def)