(client) chore:UI
This commit is contained in:
@ -158,7 +158,8 @@ namespace Entity
|
||||
}
|
||||
public InventorySlot GetSlot(int i)
|
||||
{
|
||||
i = Mathf.Clamp(i, 0, Capacity - 1);
|
||||
if (i < 0 || i >= OccupiedSlotsCount)
|
||||
return null;
|
||||
return _slots[i];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user