Replace usages of ISharedNotifyManager and IServerNotifyManager with extension methods (#1965)

* Replace usages of ISharedNotifyManager and IServerNotifyManager with extension methods

* Remove redundant code
This commit is contained in:
DrSmugleaf
2020-09-01 12:34:53 +02:00
committed by GitHub
parent 14259ed920
commit 8f9ed2f562
53 changed files with 247 additions and 375 deletions

View File

@@ -5,7 +5,6 @@ using Content.Server.GameObjects.Components.Items.Storage;
using Content.Server.GameObjects.Components.Observer;
using Content.Server.Interfaces.Chat;
using Content.Server.Interfaces.GameObjects;
using Content.Server.Interfaces;
using Content.Server.Observer;
using Content.Server.Players;
using Content.Server.Utility;
@@ -120,7 +119,6 @@ namespace Content.Server.Chat
internal class SuicideCommand : IClientCommand
{
[Dependency] private readonly IPlayerManager _playerManager = default!;
[Dependency] private readonly IServerNotifyManager _notifyManager = default!;
public string Command => "suicide";