From 59083495065d2fe545d7c9bc50a110492a6d5ffb Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Thu, 17 Nov 2016 11:42:50 +0100 Subject: [PATCH] Show progress in debug mode --- src/tk/wurst_client/commands/PathCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tk/wurst_client/commands/PathCmd.java b/src/tk/wurst_client/commands/PathCmd.java index 26035df..905b1e6 100644 --- a/src/tk/wurst_client/commands/PathCmd.java +++ b/src/tk/wurst_client/commands/PathCmd.java @@ -114,6 +114,7 @@ public void execute(String[] args) throws Error // start enabled = true; wurst.events.add(UpdateListener.class, this); + wurst.events.add(RenderListener.class, this); System.out.println("Finding path..."); startTime = System.nanoTime(); } @@ -133,7 +134,6 @@ public void onUpdate() wurst.chat.error("Could not find a path."); wurst.events.remove(UpdateListener.class, this); - wurst.events.add(RenderListener.class, this); System.out.println("Done after " + passedTime + "ms"); if(debugMode.isChecked())