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; }