Skip to content

Commit

Permalink
fix Undeclared global variable "unified_inventory" accessed
Browse files Browse the repository at this point in the history
  • Loading branch information
bell07 committed Mar 6, 2022
1 parent af5e6fc commit c9fa5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formspecs.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c9fa5d9

Please sign in to comment.