removing ah full check when relist
This commit is contained in:
parent
7c603f52fe
commit
0c92cd98b3
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue