Miner drone / Editor bugfixes
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package io.anuke.mindustry.entities.type.base;
|
||||
|
||||
public class Draug extends MinerDrone{
|
||||
}
|
||||
@@ -53,9 +53,7 @@ public class MinerDrone extends FlyingUnit implements MinerTrait{
|
||||
}
|
||||
|
||||
retarget(() -> {
|
||||
if(getMineTile() == null){
|
||||
findItem();
|
||||
}
|
||||
findItem();
|
||||
|
||||
if(targetItem == null) return;
|
||||
|
||||
@@ -147,6 +145,11 @@ public class MinerDrone extends FlyingUnit implements MinerTrait{
|
||||
}
|
||||
};
|
||||
|
||||
@Override
|
||||
public UnitState getStartState(){
|
||||
return mine;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(){
|
||||
super.update();
|
||||
|
||||
Reference in New Issue
Block a user