simplify properly even when obfuscated

This commit is contained in:
Leijurv 2018-09-30 21:43:07 -07:00
parent 13aaec07cd
commit b1e1cc43e0
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -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());
}
}