From cc0cd7b2706fa42d820fbaaf477b44280cdea838 Mon Sep 17 00:00:00 2001 From: Brady Date: Sun, 5 Aug 2018 18:57:50 -0500 Subject: [PATCH] Fix onTick signature in PathingBehavior --- src/main/java/baritone/bot/behavior/impl/PathingBehavior.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/baritone/bot/behavior/impl/PathingBehavior.java b/src/main/java/baritone/bot/behavior/impl/PathingBehavior.java index 9261c05e..62af0b80 100644 --- a/src/main/java/baritone/bot/behavior/impl/PathingBehavior.java +++ b/src/main/java/baritone/bot/behavior/impl/PathingBehavior.java @@ -3,6 +3,7 @@ package baritone.bot.behavior.impl; import baritone.bot.behavior.Behavior; import baritone.bot.event.events.ChatEvent; import baritone.bot.event.events.RenderEvent; +import baritone.bot.event.events.TickEvent; import baritone.bot.pathing.calc.AStarPathFinder; import baritone.bot.pathing.calc.IPathFinder; import baritone.bot.pathing.goals.Goal; @@ -34,7 +35,7 @@ public class PathingBehavior extends Behavior { private Goal goal; @Override - public void onTick() { + public void onTick(TickEvent event) { // System.out.println("Ticking"); if (current == null) { return;