aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/BazaarPriceWarning.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/BazaarPriceWarning.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/BazaarPriceWarning.kt
index 007150f8..f0aace54 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/BazaarPriceWarning.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/BazaarPriceWarning.kt
@@ -59,7 +59,7 @@ class BazaarPriceWarning : WarningPopUp() {
ItemUtils.getDisplayName(signStack) != "§aCustom Amount"
val isBuyOrder = Utils.getOpenChestName().contains("How many do you want?")
val isConfirmInstantBuy = Utils.getOpenChestName().contains("Confirm Instant Buy")
- if ((hasCustomAmount && !isBuyOrder) || isConfirmInstantBuy) return
+ if ((hasCustomAmount && !isBuyOrder && !isConfirmInstantBuy)) return
if (shouldShow()) return
val stack = event.slot.stack ?: return
val lore = ItemUtils.getLore(stack)