PlayerInventory & PlayerInventoryUI: Fixed inventory state saving
This commit is contained in:
@@ -10,7 +10,7 @@ PlayerInventoryUI:registerOnFormFieldActionMatch('%S+::%S+::item_button',functio
|
||||
|
||||
local playerName = player:get_player_name()
|
||||
PlayerInventoryUI:setContex(playerName, paneType..'_pane_craft_selected_craft', craftName)
|
||||
|
||||
player:set_inventory_formspec(PlayerInventoryUI:getFormSpecString(playerName))
|
||||
PlayerInventoryUI:showForm(playerName)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user