@@ -2,7 +2,8 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.IntegrationTests.Pair;
|
||||
using Content.Server.Administration.Managers;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Server.Player;
|
||||
using Robust.Shared.Players;
|
||||
using Robust.Shared.Toolshed;
|
||||
using Robust.Shared.Toolshed.Errors;
|
||||
using Robust.Shared.Toolshed.Syntax;
|
||||
@@ -59,7 +60,7 @@ public abstract class ToolshedTest : IInvocationContext
|
||||
AdminManager = Server.ResolveDependency<IAdminManager>();
|
||||
}
|
||||
|
||||
protected bool InvokeCommand(string command, out object? result, ICommonSession? session = null)
|
||||
protected bool InvokeCommand(string command, out object? result, IPlayerSession? session = null)
|
||||
{
|
||||
return Toolshed.InvokeCommand(this, command, null, out result);
|
||||
}
|
||||
@@ -94,7 +95,7 @@ public abstract class ToolshedTest : IInvocationContext
|
||||
return true;
|
||||
}
|
||||
|
||||
protected ICommonSession? InvocationSession { get; set; }
|
||||
protected IPlayerSession? InvocationSession { get; set; }
|
||||
|
||||
public ICommonSession? Session
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user