Fix onTick signature in PathingBehavior

This commit is contained in:
Brady 2018-08-05 18:57:50 -05:00
parent 8ef9f9db70
commit cc0cd7b270
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package baritone.bot.behavior.impl;
import baritone.bot.behavior.Behavior; import baritone.bot.behavior.Behavior;
import baritone.bot.event.events.ChatEvent; import baritone.bot.event.events.ChatEvent;
import baritone.bot.event.events.RenderEvent; import baritone.bot.event.events.RenderEvent;
import baritone.bot.event.events.TickEvent;
import baritone.bot.pathing.calc.AStarPathFinder; import baritone.bot.pathing.calc.AStarPathFinder;
import baritone.bot.pathing.calc.IPathFinder; import baritone.bot.pathing.calc.IPathFinder;
import baritone.bot.pathing.goals.Goal; import baritone.bot.pathing.goals.Goal;
@ -34,7 +35,7 @@ public class PathingBehavior extends Behavior {
private Goal goal; private Goal goal;
@Override @Override
public void onTick() { public void onTick(TickEvent event) {
// System.out.println("Ticking"); // System.out.println("Ticking");
if (current == null) { if (current == null) {
return; return;