mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-27 19:30:26 +01:00
Merge branch 'fix_undeclared' into 'master'
Fix Undeclared Global Variable "unified_inventory" See merge request VanessaE/pipeworks!44
This commit is contained in:
commit
c39d40e940
2
init.lua
2
init.lua
@ -151,7 +151,7 @@ minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")
|
||||
|
||||
-- Unified Inventory categories integration
|
||||
|
||||
if unified_inventory and unified_inventory.registered_categories then
|
||||
if minetest.global_exists("unified_inventory") and unified_inventory.registered_categories then
|
||||
if not unified_inventory.registered_categories["automation"] then
|
||||
unified_inventory.register_category("automation", {
|
||||
symbol = "pipeworks:lua_tube000000",
|
||||
|
Loading…
Reference in New Issue
Block a user