diff --git a/src/main/java/baritone/behavior/PathingBehavior.java b/src/main/java/baritone/behavior/PathingBehavior.java index 8e115240..9c09533f 100644 --- a/src/main/java/baritone/behavior/PathingBehavior.java +++ b/src/main/java/baritone/behavior/PathingBehavior.java @@ -342,7 +342,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior, } if (pos != null && world().getChunk(pos) instanceof EmptyChunk) { - logDebug("Simplifying " + goal.toString().split("\\{")[0] + " to GoalXZ due to distance"); + logDebug("Simplifying " + goal.getClass() + " to GoalXZ due to distance"); goal = new GoalXZ(pos.getX(), pos.getZ()); } }