mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 06:13:45 +01:00
Fix unified inventory killer
This commit is contained in:
parent
33738dcff8
commit
b2ae7f9c8b
@ -2,3 +2,4 @@
|
|||||||
shields?
|
shields?
|
||||||
unified_inventory?
|
unified_inventory?
|
||||||
inventory_plus?
|
inventory_plus?
|
||||||
|
sfinv?
|
||||||
|
@ -5,7 +5,7 @@ local S = armor_i18n.gettext
|
|||||||
local inventory_update
|
local inventory_update
|
||||||
if minetest.global_exists("unified_inventory") then
|
if minetest.global_exists("unified_inventory") then
|
||||||
inventory_update = function(player)
|
inventory_update = function(player)
|
||||||
local page = unified_inventory.current_page[name]
|
local page = unified_inventory.current_page[player:get_player_name()]
|
||||||
unified_inventory.set_inventory_formspec(player, "armor")
|
unified_inventory.set_inventory_formspec(player, "armor")
|
||||||
unified_inventory.get_formspec(player, "armor")
|
unified_inventory.get_formspec(player, "armor")
|
||||||
unified_inventory.set_inventory_formspec(player, page)
|
unified_inventory.set_inventory_formspec(player, page)
|
||||||
|
Loading…
Reference in New Issue
Block a user