From c7caf16a94427ec53782f56aed5b09c7edf03ec3 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Fri, 1 Feb 2013 01:32:48 +0100 Subject: [PATCH] Inform the server operator about problems with Guava. --- .../com/comphenix/protocol/async/PacketProcessingQueue.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/async/PacketProcessingQueue.java b/ProtocolLib/src/main/java/com/comphenix/protocol/async/PacketProcessingQueue.java index 06385c0e..800124f2 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/async/PacketProcessingQueue.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/async/PacketProcessingQueue.java @@ -74,6 +74,9 @@ class PacketProcessingQueue extends AbstractConcurrentListenerMultimapcreate(), null); } catch (IncompatibleClassChangeError e) { + System.out.println("[ProtocolLib] Guava is either missing or corrupt. Reverting to PriorityQueue."); + e.printStackTrace(); + // It's a Beta class after all this.processingQueue = Synchronization.queue( new PriorityQueue(), null);