PlayerInventory & PlayerInventoryUI: remove group image animation. #34
This commit is contained in:
@@ -27,13 +27,6 @@ PlayerInventoryUI:registerOnFormFieldActionMatch('.+::%S+::group_button',functio
|
||||
PlayerInventoryUI:showForm(playerName)
|
||||
end)
|
||||
|
||||
Smc.registerGlobalStepForEachPlayer(1, function(deltaTime, player)
|
||||
local playerName = player:get_player_name()
|
||||
if Smc.getActiveFormspec(playerName) == '' then
|
||||
player:set_inventory_formspec(PlayerInventoryUI:getFormSpecString(playerName))
|
||||
end
|
||||
end)
|
||||
|
||||
PlayerInventoryUI:registerOnFormFieldActionMatch('.+::craft_item', function(player, fieldName, fieldValue)
|
||||
---@type InvRef
|
||||
local inv = player:get_inventory()
|
||||
|
||||
Reference in New Issue
Block a user