Invalidate ping when spoof sent
This commit is contained in:
parent
af8d1af635
commit
69bbc3a71e
@ -129,6 +129,7 @@ public class UpstreamBridge extends PacketHandler
|
|||||||
con.getServer().unsafe().sendPacket( alive );
|
con.getServer().unsafe().sendPacket( alive );
|
||||||
|
|
||||||
con.getServer().setPingFailed( true );
|
con.getServer().setPingFailed( true );
|
||||||
|
con.getServer().setSentPingId( -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
throw CancelSendSignal.INSTANCE;
|
throw CancelSendSignal.INSTANCE;
|
||||||
|
Loading…
Reference in New Issue
Block a user