From b1e1cc43e0327a771f5127cdcd8a3e1e0222cf58 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 30 Sep 2018 21:43:07 -0700 Subject: [PATCH] simplify properly even when obfuscated --- src/main/java/baritone/behavior/PathingBehavior.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/behavior/PathingBehavior.java b/src/main/java/baritone/behavior/PathingBehavior.java index c212ac5d..f903dfbd 100644 --- a/src/main/java/baritone/behavior/PathingBehavior.java +++ b/src/main/java/baritone/behavior/PathingBehavior.java @@ -343,7 +343,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior, // TODO simplify each individual goal in a GoalComposite if (pos != null && world().getChunk(pos) instanceof EmptyChunk) { - logDebug("Simplifying " + goal.getClass() + " to GoalXZ due to distance"); + logDebug("Simplifying " + goal.toString().split("\\{")[0] + " to GoalXZ due to distance"); goal = new GoalXZ(pos.getX(), pos.getZ()); } }