@@ -2,6 +2,7 @@ using Content.Server.Administration;
|
||||
using Content.Server.EUI;
|
||||
using Content.Server.NPC.UI;
|
||||
using Content.Shared.Administration;
|
||||
using Robust.Server.Player;
|
||||
using Robust.Shared.Console;
|
||||
|
||||
namespace Content.Server.NPC.Commands;
|
||||
@@ -14,7 +15,7 @@ public sealed class NPCCommand : IConsoleCommand
|
||||
public string Help => $"{Command}";
|
||||
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
||||
{
|
||||
if (shell.Player is not { } playerSession)
|
||||
if (shell.Player is not IPlayerSession playerSession)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user