From 2fef0a564c30612eef3ee3ee7d5a0f307c0f2478 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 1 Mar 2012 04:48:04 -0500 Subject: [PATCH] We build for 1.5. By: EvilSeph --- .../craftbukkit/conversations/ConversationTracker.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java b/paper-server/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java index 46771728d..c5553ddfd 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/conversations/ConversationTracker.java +++ b/paper-server/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();