From a53afd313e1eb16c3938c22816033745d1dcc4bc Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 1 Mar 2012 04:48:04 -0500 Subject: [PATCH] We build for 1.5. --- .../craftbukkit/conversations/ConversationTracker.java | 5 ++--- 1 file 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 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();