This reverts commit a47e1b817c.
This commit is contained in:
@@ -5,17 +5,18 @@ using Robust.Shared.Log;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Random;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Markers
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class RandomSpawnerComponent : ConditionalSpawnerComponent
|
||||
public class TrashSpawnerComponent : ConditionalSpawnerComponent
|
||||
{
|
||||
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
||||
|
||||
public override string Name => "RandomSpawner";
|
||||
public override string Name => "TrashSpawner";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("rarePrototypes")]
|
||||
@@ -44,7 +45,7 @@ namespace Content.Server.GameObjects.Components.Markers
|
||||
|
||||
if (Prototypes.Count == 0)
|
||||
{
|
||||
Logger.Warning($"Prototype list in RandomSpawnerComponent is empty! Entity: {Owner}");
|
||||
Logger.Warning($"Prototype list in TrashSpawnComponent is empty! Entity: {Owner}");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user