removing ah full check when relist

This commit is contained in:
NK 2023-05-25 01:34:19 +01:00
parent 7c603f52fe
commit 0c92cd98b3

View file

@ -148,7 +148,7 @@ public class SniperFlipperEvents {
map.put("price", format.format(item.price)); map.put("price", format.format(item.price));
Lilase.cofl.bought_items.add(map); Lilase.cofl.bought_items.add(map);
new Thread(() -> { new Thread(() -> {
if (!ONLY_SNIPER && !ah_full) { if (!ONLY_SNIPER) {
item.flipper = new Flipper(item.name, item.price, item.target, uuid); item.flipper = new Flipper(item.name, item.price, item.target, uuid);
item.flipper.sendBought(); item.flipper.sendBought();
Utils.debugLog("Bought an item, starting to sell"); Utils.debugLog("Bought an item, starting to sell");
@ -157,8 +157,6 @@ public class SniperFlipperEvents {
System.out.println("Target Price: " + item.flipper.target); System.out.println("Target Price: " + item.flipper.target);
selling_queue.add(item.flipper); selling_queue.add(item.flipper);
item.flipper.sellItem(); item.flipper.sellItem();
} else {
Utils.debugLog("Bought an item, not selling because only sniper is enabled or AH slots are full");
} }
}).start(); }).start();
} }