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