Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -20,7 +20,7 @@ namespace Server.Items
|
|||
public const double SecondsPerUOMinute = 5.0;
|
||||
public const double MinutesPerUODay = SecondsPerUOMinute * 24;
|
||||
|
||||
private static DateTime WorldStart = new DateTime(1997, 9, 1);
|
||||
private static readonly DateTime WorldStart = new DateTime(1997, 9, 1);
|
||||
|
||||
[Constructible]
|
||||
public Clock(int itemID = 0x104B) : base(itemID) => Weight = 3.0;
|
||||
|
|
@ -29,7 +29,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public static DateTime ServerStart{ get; private set; }
|
||||
public static DateTime ServerStart { get; private set; }
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ namespace Server.Items
|
|||
return;
|
||||
|
||||
FindIngredientObjective obj = qs.FindObjective<FindIngredientObjective>();
|
||||
|
||||
|
||||
if (obj?.Completed == false && obj.Ingredient == Ingredient.StarChart)
|
||||
{
|
||||
Clock.GetTime(from.Map, from.X, from.Y, out int hours, out int _);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue