A bunch of AttachedEntity bullshit

This commit is contained in:
metalgearsloth
2021-12-06 15:39:46 +11:00
parent 215cae5655
commit 525297c5fe
58 changed files with 135 additions and 133 deletions

View File

@@ -59,9 +59,9 @@ namespace Content.IntegrationTests.Tests.PDA
await server.WaitAssertion(() =>
{
var player = sPlayerManager.Sessions.Single().AttachedEntity!.Value;
var player = sPlayerManager.Sessions.Single().AttachedEntity;
Assert.NotNull(player);
Assert.That(player != default);
// The player spawns with an ID on by default
Assert.NotNull(player.GetHeldId());