Logic improvement

This commit is contained in:
HaHaWTH 2023-10-21 19:29:30 +08:00
parent 584f2074fd
commit 9ba9af6369

View File

@ -242,6 +242,8 @@ public class GuiCaptchaHandler implements Listener{
deletePlayerStats(playerUUID);
}
}, 100L);
ProtocolLibrary.getProtocolManager().removePacketListener(windowPacketListener);
ProtocolLibrary.getProtocolManager().removePacketListener(chatPacketListener);
return;
}
ProtocolLibrary.getProtocolManager().removePacketListener(windowPacketListener);