1
0
mirror of https://github.com/minetest-mods/skinsdb.git synced 2025-07-03 00:00:50 +02:00

fix Undeclared global variable "unified_inventory" accessed

This commit is contained in:
Alexander Weber
2022-03-05 12:53:55 +01:00
parent e0765da839
commit ad189102d5

@ -1,5 +1,5 @@
local S = minetest.get_translator("skinsdb") 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) function skins.get_formspec_context(player)
if player then if player then