Fix inventory full checks

This commit is contained in:
SilicaAndPina 2021-02-05 13:24:53 +13:00
parent 92aa2dd51a
commit 11256e800c

View file

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