Enforce social distancing (#5465)
This commit is contained in:
committed by
GitHub
parent
91f50883b1
commit
0cd4ef575d
@@ -31,7 +31,7 @@ public class MinerAI extends AIController{
|
|||||||
//core full of the target item, do nothing
|
//core full of the target item, do nothing
|
||||||
if(targetItem != null && core.acceptStack(targetItem, 1, unit) == 0){
|
if(targetItem != null && core.acceptStack(targetItem, 1, unit) == 0){
|
||||||
unit.clearItem();
|
unit.clearItem();
|
||||||
unit.mineTile =null;
|
unit.mineTile = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user