From d3c6e1bac1a5599826219e703d3e3d22ec9b38bb Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 3 Aug 2018 00:07:01 -0400 Subject: [PATCH] arraylist not linkedlist --- src/main/java/baritone/bot/pathing/calc/Path.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/baritone/bot/pathing/calc/Path.java b/src/main/java/baritone/bot/pathing/calc/Path.java index 4a12f475..5388889a 100644 --- a/src/main/java/baritone/bot/pathing/calc/Path.java +++ b/src/main/java/baritone/bot/pathing/calc/Path.java @@ -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(); }