Add TickEvent typecheck
This commit is contained in:
parent
f320c6710a
commit
a4ccfe50a7
@ -35,7 +35,9 @@ public class PathExecutor extends Behavior {
|
||||
|
||||
@Override
|
||||
public void onTick(TickEvent event) {
|
||||
if(event.)
|
||||
if(event.getType() == TickEvent.Type.OUT) {
|
||||
return;
|
||||
}
|
||||
if (pathPosition >= path.length()) {
|
||||
//stop bugging me, I'm done
|
||||
//TODO Baritone.INSTANCE.behaviors.remove(this)
|
||||
|
Loading…
Reference in New Issue
Block a user