public void sendPacket(SendBaseGamePacket sp) { if (this._connection == null) { return; } this._connection.sendPacket(sp); }
public void sendPacket(SendBaseGamePacket sp) { bool flag = this._connection != null; if (flag) { this._connection.sendPacket(sp); } }