dereference holder upon send

This commit is contained in:
Jess H 2024-05-27 09:53:27 +01:00
parent 60696a0fd7
commit b3bd346163

View file

@ -33,6 +33,7 @@ public class Ping extends Feature {
if (mc.player != null && holder != null && holder.passed()) {
totalSent++;
mc.player.connection.sendPacket(holder.packet);
holder = null;
}
}