This commit is contained in:
Anuken
2021-06-25 09:18:11 -04:00
parent 57fd72f476
commit 02e6257a66
2 changed files with 15 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ public class MinerAI extends AIController{
if(unit.stack.amount >= unit.type.itemCapacity || (targetItem != null && !unit.acceptsItem(targetItem))){
mining = false;
}else{
if(timer.get(timerTarget, 60) && targetItem != null){
if(timer.get(timerTarget3, 60) && targetItem != null){
ore = indexer.findClosestOre(unit, targetItem);
}