From 9abc34ca4c6105d903886ba5d34705012c8806dc Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 25 Sep 2018 13:55:03 -0700 Subject: [PATCH] less unneeded output --- scripts/proguard.pro | 2 +- src/main/java/baritone/utils/BaritoneAutoTest.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/proguard.pro b/scripts/proguard.pro index bafdfc901..1d90d0966 100644 --- a/scripts/proguard.pro +++ b/scripts/proguard.pro @@ -5,7 +5,7 @@ -keepattributes Signature -keepattributes *Annotation* --optimizationpasses 10 +-optimizationpasses 5 -verbose -allowaccessmodification # anything not kept can be changed from public to private and inlined etc diff --git a/src/main/java/baritone/utils/BaritoneAutoTest.java b/src/main/java/baritone/utils/BaritoneAutoTest.java index ad0611200..ae88f7f99 100644 --- a/src/main/java/baritone/utils/BaritoneAutoTest.java +++ b/src/main/java/baritone/utils/BaritoneAutoTest.java @@ -55,7 +55,9 @@ public class BaritoneAutoTest implements AbstractGameEventListener, Helper { System.out.println("Waiting for world to generate... " + event.getCount()); return; } - System.out.println(playerFeet() + " " + event.getCount()); + if (event.getCount() % 100 == 0) { // print only once every 5 seconds + System.out.println(playerFeet() + " " + event.getCount()); + } PathingBehavior.INSTANCE.setGoal(GOAL); PathingBehavior.INSTANCE.path(); if (GOAL.isInGoal(playerFeet())) {