Inital Commit
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Commands.Generic
|
||||
@@ -36,7 +38,7 @@ namespace Server.Commands.Generic
|
||||
ArrayList list = new ArrayList();
|
||||
ArrayList addresses = new ArrayList();
|
||||
|
||||
System.Collections.Generic.List<NetState> states = NetState.Instances;
|
||||
IList<NetState> states = NetState.Instances;
|
||||
|
||||
for (int i = 0; i < states.Count; ++i)
|
||||
{
|
||||
@@ -60,4 +62,4 @@ namespace Server.Commands.Generic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Server.Commands.Generic
|
||||
|
||||
ArrayList list = new ArrayList();
|
||||
|
||||
List<NetState> states = NetState.Instances;
|
||||
IList<NetState> states = NetState.Instances;
|
||||
|
||||
for (int i = 0; i < states.Count; ++i)
|
||||
{
|
||||
@@ -63,4 +63,4 @@ namespace Server.Commands.Generic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,6 +164,9 @@ namespace Server.Commands
|
||||
|
||||
while ((line = ip.ReadLine()) != null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(line))
|
||||
continue;
|
||||
|
||||
string[] split = line.Split(' ');
|
||||
|
||||
SignEntry e = new SignEntry(
|
||||
@@ -346,4 +349,4 @@ namespace Server.Commands
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Server.Commands
|
||||
public static void CheckTime_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
Mobile m = e.Mobile;
|
||||
DateTime now = DateTime.Now;
|
||||
DateTime now = DateTime.UtcNow;
|
||||
m.SendMessage("The Current Date And Time Is " + now + "(EST)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user