diff --git a/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java b/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java index a09bfd13..0862bed4 100644 --- a/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java +++ b/ProtocolLib/src/com/comphenix/protocol/async/AsyncFilterManager.java @@ -182,7 +182,7 @@ public class AsyncFilterManager implements AsynchronousManager { // Start the process getSendingQueue(syncPacket).enqueue(newEvent); - // We know this is occuring on the main thread, to pass TRUE + // We know this is occuring on the main thread, so pass TRUE getProcessingQueue(syncPacket).enqueue(newEvent, true); } diff --git a/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java b/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java index 3f063eb8..8cecb1c8 100644 --- a/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java +++ b/ProtocolLib/src/com/comphenix/protocol/async/AsyncMarker.java @@ -18,6 +18,8 @@ import com.google.common.primitives.Longs; /** * Contains information about the packet that is being processed by asynchronous listeners. + *

+ * Asynchronous listeners can use this to set packet timeout or transmission order. * * @author Kristian */