Skip to content

Commit

Permalink
Wack
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Nov 8, 2024
1 parent fe9f99d commit e3d87b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Content.Server/Traits/TraitSystem.Functions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public override void OnPlayerSpawn(EntityUid uid,
public sealed partial class TraitAddActions : TraitFunction
{
[DataField, AlwaysPushInheritance]
public List<EntProtoId> Actions { get; private set; } = default!;
public List<EntProtoId> Actions { get; private set; } = new();

public override void OnPlayerSpawn(EntityUid uid,
IComponentFactory factory,
Expand Down Expand Up @@ -127,7 +127,7 @@ public override void OnPlayerSpawn(EntityUid uid,
public sealed partial class TraitAddPsionics : TraitFunction
{
[DataField, AlwaysPushInheritance]
public List<ProtoId<PsionicPowerPrototype>> PsionicPowers { get; private set; } = default!;
public List<ProtoId<PsionicPowerPrototype>> PsionicPowers { get; private set; } = new();

public override void OnPlayerSpawn(EntityUid uid,
IComponentFactory factory,
Expand Down Expand Up @@ -194,7 +194,7 @@ public sealed partial class TraitAddMoodlets : TraitFunction
{
/// The list of all Moodlets that this trait adds.
[DataField, AlwaysPushInheritance]
public List<ProtoId<MoodEffectPrototype>> MoodEffects { get; private set; } = default!;
public List<ProtoId<MoodEffectPrototype>> MoodEffects { get; private set; } = new();

public override void OnPlayerSpawn(EntityUid uid,
IComponentFactory factory,
Expand All @@ -220,7 +220,7 @@ public sealed partial class TraitModifyFactions : TraitFunction
/// I can't actually Validate these because the proto lives in Shared.
/// </remarks>
[DataField, AlwaysPushInheritance]
public List<string> RemoveFactions { get; private set; } = default!;
public List<string> RemoveFactions { get; private set; } = new();

/// <summary>
/// The list of all Factions that this trait adds.
Expand All @@ -229,7 +229,7 @@ public sealed partial class TraitModifyFactions : TraitFunction
/// I can't actually Validate these because the proto lives in Shared.
/// </remarks>
[DataField, AlwaysPushInheritance]
public List<string> AddFactions { get; private set; } = default!;
public List<string> AddFactions { get; private set; } = new();

public override void OnPlayerSpawn(EntityUid uid,
IComponentFactory factory,
Expand All @@ -251,7 +251,7 @@ public override void OnPlayerSpawn(EntityUid uid,
public sealed partial class TraitVVEdit : TraitFunction
{
[DataField, AlwaysPushInheritance]
public Dictionary<string, string> VVEdit { get; private set; }
public Dictionary<string, string> VVEdit { get; private set; } = new();

public override void OnPlayerSpawn(EntityUid uid,
IComponentFactory factory,
Expand Down

0 comments on commit e3d87b5

Please sign in to comment.