Add TickEvent typecheck

This commit is contained in:
Howard Stark 2018-08-06 13:07:30 -07:00
parent f320c6710a
commit a4ccfe50a7
No known key found for this signature in database
GPG Key ID: 9FA4E350B33067F3

View File

@ -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)