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,10 +161,10 @@ namespace HISP.Game.Inventory
|
||||||
{
|
{
|
||||||
throw new InventoryMaxStackException();
|
throw new InventoryMaxStackException();
|
||||||
}
|
}
|
||||||
else if (Count >= Messages.DefaultInventoryMax)
|
}
|
||||||
{
|
else if (Count >= Messages.DefaultInventoryMax)
|
||||||
throw new InventoryFullException();
|
{
|
||||||
}
|
throw new InventoryFullException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue