Skip to content

Commit

Permalink
PacketProcessor: Fix NPE spam in disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
SplotyCode committed Jun 17, 2022
1 parent 13c3cb0 commit f91b10b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class PacketProcessor {
if(KauriAPI.INSTANCE.getPacketExemptedPlayers().contains(data.uuid)) return;

ThreadHandler.INSTANCE.getThread(data).runTask(() -> {
if (data.checkManager == null) return;
try {
if(outgoingPackets.contains(info.getType())) {
processServer(data, info.getPacket(), info.getType(), info.getTimestamp());
Expand Down

0 comments on commit f91b10b

Please sign in to comment.