aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-08-10 20:48:11 +0200
committerLorenz <lo.scherf@gmail.com>2022-08-10 20:48:11 +0200
commit28fb3a31ab013f3962c5e03d5577ca085d3f95e4 (patch)
tree51b25a68ef42e2cc3418e7a596c4880ba564432f /src/main/java/io
parent8cc58669da28b05d6ee5df2262caa43c89d32bab (diff)
downloadNotEnoughUpdates-28fb3a31ab013f3962c5e03d5577ca085d3f95e4.tar.gz
NotEnoughUpdates-28fb3a31ab013f3962c5e03d5577ca085d3f95e4.tar.bz2
NotEnoughUpdates-28fb3a31ab013f3962c5e03d5577ca085d3f95e4.zip
removed debug
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperPriceCalculation.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperPriceCalculation.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperPriceCalculation.java
index 088b0d67..1e608a00 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperPriceCalculation.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperPriceCalculation.java
@@ -39,16 +39,6 @@ public class MinionHelperPriceCalculation {
private final MinionHelperManager manager;
private final Map<String, String> upgradeCostFormatCache = new HashMap<>();
private final Map<String, String> fullCostFormatCache = new HashMap<>();
- //TODO maybe change logic with 0 coins later or stuff
-// private final List<String> cheapItems = Arrays.asList(
-// "WOOD_SWORD",
-// "WOOD_HOE",
-// "WOOD_AXE",
-// "WOOD_PICKAXE",
-// "WOOD_SPADE",
-// "FISHING_ROD",
-// "SKYBLOCK_PELT"
-// );
public MinionHelperPriceCalculation(MinionHelperManager manager) {
this.manager = manager;
@@ -160,9 +150,6 @@ public class MinionHelperPriceCalculation {
return (long) bazaarInfo.get("curr_sell").getAsDouble();
}
- //Is cheap item
-// if (cheapItems.contains(internalName)) return 0;
-
//is ah bin
long avgBinPrice = (long) NotEnoughUpdates.INSTANCE.manager.auctionManager.getItemAvgBin(internalName);
if (avgBinPrice >= 1) return avgBinPrice;
@@ -174,7 +161,6 @@ public class MinionHelperPriceCalculation {
return 0;
}
return (int) (auctionInfo.get("price").getAsFloat() / auctionInfo.get("count").getAsFloat());
-
}
public String formatCoins(long coins) {