From 3873aae7100926913536ec5f9c03f8f88e8d5f65 Mon Sep 17 00:00:00 2001 From: Brady Date: Sun, 16 Jul 2023 19:14:44 -0500 Subject: [PATCH] surely this is ok --- .../baritone/behavior/elytra/NetherPathfinderContext.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/baritone/behavior/elytra/NetherPathfinderContext.java b/src/main/java/baritone/behavior/elytra/NetherPathfinderContext.java index 37c226bdd..2fd5066ca 100644 --- a/src/main/java/baritone/behavior/elytra/NetherPathfinderContext.java +++ b/src/main/java/baritone/behavior/elytra/NetherPathfinderContext.java @@ -228,16 +228,16 @@ public final class NetherPathfinderContext { private static final class WorkQueue extends TrollBlockingQueue { - private final ConcurrentLinkedDeque path; - private final ConcurrentLinkedDeque chunk; + private final LinkedList path; + private final LinkedList chunk; private final ReentrantLock takeLock = new ReentrantLock(); private final ReentrantLock putLock = new ReentrantLock(); private final Condition notEmpty = takeLock.newCondition(); public WorkQueue() { - this.path = new ConcurrentLinkedDeque<>(); - this.chunk = new ConcurrentLinkedDeque<>(); + this.path = new LinkedList<>(); + this.chunk = new LinkedList<>(); } private void signalNotEmpty() {