mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-29 17:17:29 +01:00
Fix Undeclared global variable "unified_inventory"
This commit is contained in:
parent
2670fd88a9
commit
48b082e014
2
init.lua
2
init.lua
@ -151,7 +151,7 @@ minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")
|
|||||||
|
|
||||||
-- Unified Inventory categories integration
|
-- 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
|
if not unified_inventory.registered_categories["automation"] then
|
||||||
unified_inventory.register_category("automation", {
|
unified_inventory.register_category("automation", {
|
||||||
symbol = "pipeworks:lua_tube000000",
|
symbol = "pipeworks:lua_tube000000",
|
||||||
|
Loading…
Reference in New Issue
Block a user