Archiviert
13
0

Inform the server operator about problems with Guava.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-02-01 01:32:48 +01:00
Ursprung b26c9c45c8
Commit c7caf16a94

Datei anzeigen

@ -74,6 +74,9 @@ class PacketProcessingQueue extends AbstractConcurrentListenerMultimap<AsyncList
maximumSize(maximumSize).
<PacketEventHolder>create(), 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<PacketEventHolder>(), null);