Inform the server operator about problems with Guava.
Dieser Commit ist enthalten in:
Ursprung
b26c9c45c8
Commit
c7caf16a94
@ -74,6 +74,9 @@ class PacketProcessingQueue extends AbstractConcurrentListenerMultimap<AsyncList
|
|||||||
maximumSize(maximumSize).
|
maximumSize(maximumSize).
|
||||||
<PacketEventHolder>create(), null);
|
<PacketEventHolder>create(), null);
|
||||||
} catch (IncompatibleClassChangeError e) {
|
} 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
|
// It's a Beta class after all
|
||||||
this.processingQueue = Synchronization.queue(
|
this.processingQueue = Synchronization.queue(
|
||||||
new PriorityQueue<PacketEventHolder>(), null);
|
new PriorityQueue<PacketEventHolder>(), null);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren