Remove kitchen spike component references (#15221)

This commit is contained in:
DrSmugleaf
2023-04-08 16:53:29 -07:00
committed by GitHub
parent cf19015086
commit b89159cf78
6 changed files with 49 additions and 66 deletions

View File

@@ -11,10 +11,10 @@ public abstract class SharedKitchenSpikeSystem : EntitySystem
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<SharedKitchenSpikeComponent, CanDropTargetEvent>(OnCanDrop);
SubscribeLocalEvent<KitchenSpikeComponent, CanDropTargetEvent>(OnCanDrop);
}
private void OnCanDrop(EntityUid uid, SharedKitchenSpikeComponent component, ref CanDropTargetEvent args)
private void OnCanDrop(EntityUid uid, KitchenSpikeComponent component, ref CanDropTargetEvent args)
{
if (args.Handled)
return;