aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
diff options
context:
space:
mode:
authorMoulberry <james.jenour@protonmail.com>2021-09-02 20:00:10 +0800
committerMoulberry <james.jenour@protonmail.com>2021-09-02 20:00:10 +0800
commit8eee6262a6e2c372240331f3c43c2279bd18539e (patch)
tree8ebf9cdf596fae2ec6b149826475d1d84de9ec3a /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
parent7cab76126da90f1884c111a1ee589b90a6ef828e (diff)
downloadnotenoughupdates-8eee6262a6e2c372240331f3c43c2279bd18539e.tar.gz
notenoughupdates-8eee6262a6e2c372240331f3c43c2279bd18539e.tar.bz2
notenoughupdates-8eee6262a6e2c372240331f3c43c2279bd18539e.zip
finish enchant gui
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
index 4ba3bb73..fc2eaf61 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
@@ -39,7 +39,7 @@ public class AuctionBINWarning extends GuiElement {
private int lowestPrice;
private boolean shouldPerformCheck() {
- if(!NotEnoughUpdates.INSTANCE.config.auctionHouseBINWarning.enableBINWarning ||
+ if(!NotEnoughUpdates.INSTANCE.config.ahTweaks.enableBINWarning ||
!NotEnoughUpdates.INSTANCE.hasSkyblockScoreboard()) {
sellingTooltip = null;
showWarning = false;
@@ -105,7 +105,7 @@ public class AuctionBINWarning extends GuiElement {
//TODO: Add option for warning if lowest price does not exist
- float factor = 1 - NotEnoughUpdates.INSTANCE.config.auctionHouseBINWarning.warningThreshold/100;
+ float factor = 1 - NotEnoughUpdates.INSTANCE.config.ahTweaks.warningThreshold/100;
if(factor < 0) factor = 0;
if(factor > 1) factor = 1;