Skip to content

Commit

Permalink
Merge pull request #54 from SplotyCode/fix/processor-npe
Browse files Browse the repository at this point in the history
PacketProcessor: Fix NPE spam in disconnect
  • Loading branch information
funkemunky authored Jun 21, 2022
2 parents 8896d29 + f91b10b commit a279fe3
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 a279fe3

Please sign in to comment.