Fix crash when using with MCL introduced in previous commit

This commit is contained in:
mrkubax10 2023-03-25 13:11:41 +01:00
parent e104ff8931
commit 5f467270bc

View File

@ -896,7 +896,9 @@ definition.on_timer=function(pos,elapsed)
return shouldRerunTimer return shouldRerunTimer
end end
if industrialtest.mclAvailable then if industrialtest.mclAvailable then
definition.groups.not_in_creative_inventory=1 definition.groups={
not_in_creative_inventory=1
}
definition._doc_items_create_entry=false definition._doc_items_create_entry=false
end end
minetest.register_node("industrialtest:iron_furnace_active",definition) minetest.register_node("industrialtest:iron_furnace_active",definition)