Use typed indexed Aetheria state access

This commit is contained in:
Meta Vens 2026-06-29 05:01:45 +01:00
commit a21f7be296
6 changed files with 55 additions and 104 deletions

View file

@ -1001,7 +1001,7 @@ public class InventoryMenu : MonoBehaviour
try
{
var nextInventory = ResolveClient()
.State.Reactive<AetheriaRuntimeInventoryDocument>(AetheriaClientState.Entity(entityIndex));
.State.Reactive<AetheriaRuntimeInventoryDocument>(entityIndex);
_inventory?.Dispose();
_inventoryEntityIndex = entityIndex;
_inventory = nextInventory;