Content update for NetEntities (#18935)
This commit is contained in:
@@ -84,8 +84,8 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components.ActionBlocking
|
||||
Assert.That(cuffed.CuffedHandCount, Is.GreaterThan(0), "Handcuffing a player did not result in their hands being cuffed");
|
||||
|
||||
// Test to ensure a player with 4 hands will still only have 2 hands cuffed
|
||||
AddHand(human, host);
|
||||
AddHand(human, host);
|
||||
AddHand(entityManager.GetNetEntity(human), host);
|
||||
AddHand(entityManager.GetNetEntity(human), host);
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
@@ -101,7 +101,7 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components.ActionBlocking
|
||||
await pair.CleanReturnAsync();
|
||||
}
|
||||
|
||||
private static void AddHand(EntityUid to, IServerConsoleHost host)
|
||||
private static void AddHand(NetEntity to, IServerConsoleHost host)
|
||||
{
|
||||
host.ExecuteCommand(null, $"addhand {to}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user