Fix warnings

This commit is contained in:
Vera Aguilera Puerto
2021-02-12 10:53:02 +01:00
parent 9ee0ec4106
commit 4678e44edc
7 changed files with 1 additions and 10 deletions

View File

@@ -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;

View File

@@ -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);