From 9482818751f5167ecfe7f08820d0ef6f149b5043 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Wed, 21 Nov 2012 00:24:19 +0100 Subject: [PATCH] Fixed an incorrect null check. --- .../java/com/comphenix/protocol/async/AsyncListenerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/async/AsyncListenerHandler.java b/ProtocolLib/src/main/java/com/comphenix/protocol/async/AsyncListenerHandler.java index 0ccb719c..65e4871a 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/async/AsyncListenerHandler.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/async/AsyncListenerHandler.java @@ -540,7 +540,7 @@ public class AsyncListenerHandler { return; } - if (packet != null && packet.getAsyncMarker() == null) { + if (packet != null && packet.getAsyncMarker() != null) { processPacket(workerID, packet, "onAsyncPacket()"); } }