render next path

This commit is contained in:
Leijurv 2018-08-13 12:57:21 -07:00
parent 58a1f65044
commit 7a28b029ce
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -277,6 +277,9 @@ public class PathingBehavior extends Behavior {
int renderBegin = Math.max(current.getPosition() - 3, 0);
PathRenderer.drawPath(current.getPath(), renderBegin, player(), partialTicks, Color.RED);
}
if (next != null && next.getPath() != null) {
PathRenderer.drawPath(next.getPath(), 0, player(), partialTicks, Color.GREEN);
}
long split = System.nanoTime();
if (current != null) {