diff --git a/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java b/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java index 46771728df..c5553ddfdd 100644 --- a/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java +++ b/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java @@ -2,14 +2,13 @@ package org.bukkit.craftbukkit.conversations; import org.bukkit.conversations.Conversation; -import java.util.Deque; import java.util.LinkedList; /** */ public class ConversationTracker { - private Deque conversationQueue = new LinkedList(); + private LinkedList conversationQueue = new LinkedList(); public synchronized boolean beginConversation(Conversation conversation) { if (!conversationQueue.contains(conversation)) { @@ -39,7 +38,7 @@ public class ConversationTracker { public synchronized void abandonAllConversations() { - Deque oldQueue = conversationQueue; + LinkedList oldQueue = conversationQueue; conversationQueue = new LinkedList(); for(Conversation conversation : oldQueue) { conversation.abandon();