Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Content.Server.Holiday.Greet
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class Custom : IHolidayGreet
|
||||
public sealed class Custom : IHolidayGreet
|
||||
{
|
||||
[DataField("text")] private string _greet = string.Empty;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ using Robust.Shared.Localization;
|
||||
|
||||
namespace Content.Server.Holiday.Greet
|
||||
{
|
||||
public class DefaultHolidayGreet : IHolidayGreet
|
||||
public sealed class DefaultHolidayGreet : IHolidayGreet
|
||||
{
|
||||
public string Greet(HolidayPrototype holiday) => Loc.GetString("holiday-greet", ("holidayName", holiday.Name));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user