dereference holder upon send
This commit is contained in:
parent
60696a0fd7
commit
b3bd346163
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ public class Ping extends Feature {
|
||||||
if (mc.player != null && holder != null && holder.passed()) {
|
if (mc.player != null && holder != null && holder.passed()) {
|
||||||
totalSent++;
|
totalSent++;
|
||||||
mc.player.connection.sendPacket(holder.packet);
|
mc.player.connection.sendPacket(holder.packet);
|
||||||
|
holder = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue