Files
RobustToolbox/Robust.Shared/GameObjects/Systems/DebugExceptionSystem.cs
2022-04-04 16:11:47 +10:00

16 lines
566 B
C#

using System;
namespace Robust.Shared.GameObjects;
public sealed class DebugExceptionSystem : EntitySystem
{
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<DebugExceptionOnAddComponent, ComponentAdd>((_, _, _) => throw new NotSupportedException());
SubscribeLocalEvent<DebugExceptionInitializeComponent, ComponentInit>((_, _, _) => throw new NotSupportedException());
SubscribeLocalEvent<DebugExceptionStartupComponent, ComponentStartup>((_, _, _) => throw new NotSupportedException());
}
}