Invalidate ping when spoof sent
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user