Fix warnings
This commit is contained in:
@@ -12,7 +12,7 @@ using YamlDotNet.RepresentationModel;
|
||||
namespace Content.Server.Holiday
|
||||
{
|
||||
[Prototype("holiday")]
|
||||
public class HolidayPrototype : IPrototype, IIndexedPrototype, IExposeData
|
||||
public class HolidayPrototype : IPrototype, IIndexedPrototype
|
||||
{
|
||||
[ViewVariables] public string Name { get; private set; } = string.Empty;
|
||||
[ViewVariables] public string ID { get; private set; } = string.Empty;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace Content.Server.Holiday.ShouldCelebrate
|
||||
public bool ShouldCelebrate(DateTime date, HolidayPrototype holiday)
|
||||
{
|
||||
var chinese = new ChineseLunisolarCalendar();
|
||||
var gregorian = new GregorianCalendar();
|
||||
|
||||
var chineseNewYear = chinese.ToDateTime(date.Year, 1, 1, 0, 0, 0, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user