From a0272c21890bd3b5143adf1d3b9175c0f7a29742 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 31 Oct 2023 06:02:25 +1100 Subject: [PATCH] WebHook test againnn --- source/game/StarPlayerInventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/StarPlayerInventory.cpp b/source/game/StarPlayerInventory.cpp index 8fe2cd8..8ae052c 100644 --- a/source/game/StarPlayerInventory.cpp +++ b/source/game/StarPlayerInventory.cpp @@ -188,7 +188,7 @@ bool PlayerInventory::slotValid(InventorySlot const& slot) const { if (auto bag = bagContents(bagSlot->first)) { if ((size_t)bagSlot->second >= bag->size()) return false; - } + } else return false; } return true;