Skip to content

Commit

Permalink
Logic improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
HaHaWTH committed Oct 21, 2023
1 parent 584f207 commit 9ba9af6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/fr/xephi/authme/listener/GuiCaptchaHandler.java
Original file line number Diff line number Diff line change
@@ -242,6 +242,8 @@ public void onPlayerQuit(PlayerQuitEvent event) {
deletePlayerStats(playerUUID);
}
}, 100L);
ProtocolLibrary.getProtocolManager().removePacketListener(windowPacketListener);
ProtocolLibrary.getProtocolManager().removePacketListener(chatPacketListener);
return;
}
ProtocolLibrary.getProtocolManager().removePacketListener(windowPacketListener);

0 comments on commit 9ba9af6

Please sign in to comment.