Once again fix IllegalStateException packetSentList/packet conflict error

This commit is contained in:
Axionize committed 2024-11-30 02:55:26 -05:00
1 parent 58f61073c6
commit bc3175faed
1 file changed
+4
@@ -15,6 +15,10 @@ import java.util.Queue;
public class PingReceiveListener extends PacketListenerAbstract {
public PingReceiveListener() {
super(PacketListenerPriority.LOWEST);
}
@Override
public void onPacketReceive(PacketReceiveEvent event) {
// Do not immediately return if KB sync is disabled. This is because if we send a packet, disable the plugin