diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java b/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java index 46771728..c5553ddf 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<Conversation> conversationQueue = new LinkedList<Conversation>(); + private LinkedList<Conversation> conversationQueue = new LinkedList<Conversation>(); public synchronized boolean beginConversation(Conversation conversation) { if (!conversationQueue.contains(conversation)) { @@ -39,7 +38,7 @@ public class ConversationTracker { public synchronized void abandonAllConversations() { - Deque<Conversation> oldQueue = conversationQueue; + LinkedList<Conversation> oldQueue = conversationQueue; conversationQueue = new LinkedList<Conversation>(); for(Conversation conversation : oldQueue) { conversation.abandon(); |