Skip to content

Commit

Permalink
Update InventoryEvents.java
Browse files Browse the repository at this point in the history
  • Loading branch information
OllieJW authored Oct 27, 2021
1 parent aad20e4 commit cd08ea6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cd08ea6

Please sign in to comment.