render next path
This commit is contained in:
parent
58a1f65044
commit
7a28b029ce
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user