mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-28 05:35:28 +01:00
Inform the server operator about problems with Guava.
This commit is contained in:
parent
b26c9c45c8
commit
c7caf16a94
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user