mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-10 07:05:41 +12:00
Fix inventory full checks
This commit is contained in:
parent
92aa2dd51a
commit
11256e800c
1 changed files with 4 additions and 4 deletions
|
@ -161,11 +161,11 @@ namespace HISP.Game.Inventory
|
|||
{
|
||||
throw new InventoryMaxStackException();
|
||||
}
|
||||
}
|
||||
else if (Count >= Messages.DefaultInventoryMax)
|
||||
{
|
||||
throw new InventoryFullException();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
addItem(item, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue