Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Commit a279fe3

Browse files
authored
Merge pull request #54 from SplotyCode/fix/processor-npe
PacketProcessor: Fix NPE spam in disconnect
2 parents 8896d29 + f91b10b commit a279fe3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Impl/src/main/java/dev/brighten/anticheat/processing/PacketProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public class PacketProcessor {
6161
if(KauriAPI.INSTANCE.getPacketExemptedPlayers().contains(data.uuid)) return;
6262

6363
ThreadHandler.INSTANCE.getThread(data).runTask(() -> {
64+
if (data.checkManager == null) return;
6465
try {
6566
if(outgoingPackets.contains(info.getType())) {
6667
processServer(data, info.getPacket(), info.getType(), info.getTimestamp());

0 commit comments

Comments
 (0)