Removed unnecessary comments
This commit is contained in:
parent
a68c7a0ba3
commit
dd08affa0d
@ -70,7 +70,6 @@ namespace TrueCraft
|
|||||||
public ItemStack ItemStaging { get; set; }
|
public ItemStack ItemStaging { get; set; }
|
||||||
public IWindow CurrentWindow { get; internal set; }
|
public IWindow CurrentWindow { get; internal set; }
|
||||||
public bool EnableLogging { get; set; }
|
public bool EnableLogging { get; set; }
|
||||||
//public IPacket LastSuccessfulPacket { get; set; }
|
|
||||||
public DateTime ExpectedDigComplete { get; set; }
|
public DateTime ExpectedDigComplete { get; set; }
|
||||||
|
|
||||||
public Socket Connection { get; private set; }
|
public Socket Connection { get; private set; }
|
||||||
@ -333,8 +332,6 @@ namespace TrueCraft
|
|||||||
{
|
{
|
||||||
foreach (IPacket packet in packets)
|
foreach (IPacket packet in packets)
|
||||||
{
|
{
|
||||||
//LastSuccessfulPacket = packet;
|
|
||||||
|
|
||||||
if (PacketHandlers[packet.ID] != null)
|
if (PacketHandlers[packet.ID] != null)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -361,9 +358,6 @@ namespace TrueCraft
|
|||||||
}
|
}
|
||||||
catch (NotSupportedException)
|
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.");
|
Server.Log(LogCategory.Debug, "Disconnecting client due to unsupported packet received.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user