aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
diff options
context:
space:
mode:
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.java8
1 files changed, 4 insertions, 4 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 c52f8968..0d2d863d 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/AuctionBINWarning.java
@@ -54,9 +54,9 @@ public class AuctionBINWarning extends GuiElement {
private boolean showWarning = false;
private List<String> sellingTooltip;
private String sellingName;
- private int sellingPrice;
- private int lowestPrice;
- private int buyPercentage;
+ private long sellingPrice;
+ private long lowestPrice;
+ private long buyPercentage;
private int sellStackAmount;
private boolean isALoss = true;
@@ -96,7 +96,7 @@ public class AuctionBINWarning extends GuiElement {
if (priceMatcher.matches()) {
try {
- sellingPrice = Integer.parseInt(priceMatcher.group(1).replace(",", ""));
+ sellingPrice = Long.parseLong(priceMatcher.group(1).replace(",", ""));
} catch (NumberFormatException ignored) {
}
}