From cd08ea67f4844d309f3bb710dfd9756b311146cf Mon Sep 17 00:00:00 2001 From: OllieJW <71931263+OllieJW@users.noreply.github.com> Date: Wed, 27 Oct 2021 11:01:39 +0100 Subject: [PATCH] Update InventoryEvents.java --- .../java/me/olliejw/oremarket/listeners/InventoryEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/olliejw/oremarket/listeners/InventoryEvents.java b/src/main/java/me/olliejw/oremarket/listeners/InventoryEvents.java index c75cac3..78f07b3 100644 --- a/src/main/java/me/olliejw/oremarket/listeners/InventoryEvents.java +++ b/src/main/java/me/olliejw/oremarket/listeners/InventoryEvents.java @@ -204,7 +204,7 @@ else if (toSend.contains("[msg]")) { double itemValue = OreMarket.main().getGuiConfig().getDouble("items." + slot + ".value"); int itemStock = OreMarket.main().getGuiConfig().getInt("items." + slot + ".stock"); - if (itemStock > 0) { + if (itemStock == 0) { // Is there any stock? return; }