Archiviert
13
0
Dieses Repository wurde am 2021-01-06 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
ProtocolLib/ProtocolLib
Kristian S. Stangeland c443fc3da6 Execute onPacketSending() on the main thread for monitor listeners.
A special-case occurs when a plugin sends a packet to a client 
with filters set to FALSE (that is, bypassing most packet listeners) - 
a new packet event is constructed solely for all MONITOR listeners, as
they are informed regardless of the value of FILTER.

Unfortunately, the sending method may be invoked on a thread other 
than the main thread, which will invoke onPacketSending() 
asynchronously. This violate the assumed thread affinity of 
onPacketSending(), so we will now schedule the packet sending on 
the main thread to correct this - but only if there are monitor
listeners, and they have not specified ListenerOptions.ASYNC (which 
means onPacketSending() is thread safe).
2014-08-02 23:39:29 +02:00
..
.settings Added support for serializing/deserializing WrappedServerPing to JSON. 2014-02-02 16:50:56 +01:00
src Execute onPacketSending() on the main thread for monitor listeners. 2014-08-02 23:39:29 +02:00
.classpath Added support for serializing/deserializing WrappedServerPing to JSON. 2014-02-02 16:50:56 +01:00
.gitignore Moving ItemDisguise to an examples folder. 2013-12-21 19:17:06 +01:00
.project Update unit tests to CraftBukkit 1.6.2 2013-07-10 22:45:20 +02:00
pom.xml Last commit added to the API. Incrementing minor version to 3.5.0 2014-07-26 17:29:35 +02:00