Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -2,18 +2,18 @@
|
|||
|
||||
namespace Server.Commands
|
||||
{
|
||||
public class ShardTime
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register( "Time", AccessLevel.Player, Time_OnCommand );
|
||||
}
|
||||
public class ShardTime
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("Time", AccessLevel.Player, Time_OnCommand);
|
||||
}
|
||||
|
||||
[Usage( "Time" )]
|
||||
[Description( "Returns the server's local time." )]
|
||||
private static void Time_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendMessage( DateTime.UtcNow.ToString() );
|
||||
}
|
||||
}
|
||||
[Usage("Time")]
|
||||
[Description("Returns the server's local time.")]
|
||||
private static void Time_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendMessage(DateTime.UtcNow.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue