arraylist not linkedlist

This commit is contained in:
Leijurv 2018-08-03 00:07:01 -04:00
parent ded5a7371f
commit d3c6e1bac1
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -1,6 +1,5 @@
package baritone.bot.pathing.calc;
import baritone.bot.pathing.movement.Movement;
import baritone.bot.pathing.goals.Goal;
import baritone.bot.pathing.movement.Movement;
import net.minecraft.util.math.BlockPos;
@ -33,8 +32,8 @@ class Path implements IPath {
this.start = start.pos;
this.end = end.pos;
this.goal = goal;
this.path = new LinkedList<>();
this.movements = new LinkedList<>();
this.path = new ArrayList<>();
this.movements = new ArrayList<>();
assemblePath(start, end);
sanityCheck();
}