PlayerInventory & PlayerInventoryUI: remove group image animation. #34

This commit is contained in:
Van
2026-04-04 16:55:42 +03:00
parent b53753c6a5
commit d5c6101c0f
3 changed files with 3 additions and 10 deletions

View File

@@ -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()