From c8bccec03877f505ebe8fdb92ce23e53240e4325 Mon Sep 17 00:00:00 2001 From: The4codeblocks <72419529+The4codeblocks@users.noreply.github.com> Date: Wed, 7 May 2025 13:10:22 -0500 Subject: [PATCH] Update init.lua (#155) --- init.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6d85a06..76a0e21 100644 --- a/init.lua +++ b/init.lua @@ -117,8 +117,14 @@ minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty") if minetest.get_modpath("unified_inventory") and unified_inventory.registered_categories then if not unified_inventory.registered_categories["automation"] then + local symbol + if pipeworks.enable_lua_tube then + symbol = "pipeworks:lua_tube000000" + else + symbol = "pipeworks:mese_filter" -- fallback when lua tube isn't registered + end unified_inventory.register_category("automation", { - symbol = "pipeworks:lua_tube000000", + symbol = symbol, label = "Automation components" }) end