Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Commit

Permalink
Show progress in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 17, 2016
1 parent 4c90b87 commit 5908349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tk/wurst_client/commands/PathCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -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())
Expand Down

0 comments on commit 5908349

Please sign in to comment.