From c9fa5d92dfba3ad55e27560f2e5790c0ec7cf7e3 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Sat, 5 Mar 2022 12:53:55 +0100 Subject: [PATCH] fix Undeclared global variable "unified_inventory" accessed --- formspecs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formspecs.lua b/formspecs.lua index 70a5dd8..19482e8 100644 --- a/formspecs.lua +++ b/formspecs.lua @@ -1,5 +1,5 @@ local S = minetest.get_translator("skinsdb") -local ui = unified_inventory +local ui = minetest.global_exists("unified_inventory") and unified_inventory function skins.get_formspec_context(player) if player then