From 11256e800c615f4f0f5da626ffd96759c87f822a Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Fri, 5 Feb 2021 13:24:53 +1300 Subject: [PATCH] Fix inventory full checks --- .../HorseIsleServer/Game/Inventory/PlayerInventory.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Horse Isle Server/HorseIsleServer/Game/Inventory/PlayerInventory.cs b/Horse Isle Server/HorseIsleServer/Game/Inventory/PlayerInventory.cs index aae4b55..d9373ab 100755 --- a/Horse Isle Server/HorseIsleServer/Game/Inventory/PlayerInventory.cs +++ b/Horse Isle Server/HorseIsleServer/Game/Inventory/PlayerInventory.cs @@ -161,10 +161,10 @@ namespace HISP.Game.Inventory { throw new InventoryMaxStackException(); } - else if (Count >= Messages.DefaultInventoryMax) - { - throw new InventoryFullException(); - } + } + else if (Count >= Messages.DefaultInventoryMax) + { + throw new InventoryFullException(); }