diff --git a/Server/Core/Networking/Client.cs b/Server/Core/Networking/Client.cs
index 366f8d1c..08570040 100644
--- a/Server/Core/Networking/Client.cs
+++ b/Server/Core/Networking/Client.cs
@@ -102,7 +102,14 @@ private void OnClientWrite(IPacket packet, long length, byte[] rawData)
///
public bool Equals(Client c)
{
- return this.EndPoint.Port == c.EndPoint.Port; // this port is always unique for each client
+ try
+ {
+ return this.EndPoint.Port == c.EndPoint.Port; // this port is always unique for each client
+ }
+ catch (Exception)
+ {
+ return false;
+ }
}
///