Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Removed unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
FICTURE7 committed May 25, 2017
1 parent a68c7a0 commit dd08aff
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions TrueCraft/RemoteClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ public RemoteClient(IMultiplayerServer server, IPacketReader packetReader, Packe
public ItemStack ItemStaging { get; set; }
public IWindow CurrentWindow { get; internal set; }
public bool EnableLogging { get; set; }
//public IPacket LastSuccessfulPacket { get; set; }
public DateTime ExpectedDigComplete { get; set; }

public Socket Connection { get; private set; }
Expand Down Expand Up @@ -333,8 +332,6 @@ private void ProcessNetwork(SocketAsyncEventArgs e)
{
foreach (IPacket packet in packets)
{
//LastSuccessfulPacket = packet;

if (PacketHandlers[packet.ID] != null)
{
try
Expand All @@ -361,9 +358,6 @@ private void ProcessNetwork(SocketAsyncEventArgs e)
}
catch (NotSupportedException)
{
// Usually thrown when we do not have the requested packet definition/type.

// Might want to create its own Exception type for being more specific.
Server.Log(LogCategory.Debug, "Disconnecting client due to unsupported packet received.");
return;
}
Expand Down

0 comments on commit dd08aff

Please sign in to comment.