diff --git a/Dalamud/Game/ClientState/ClientState.cs b/Dalamud/Game/ClientState/ClientState.cs index bc2939f8b..940973ad8 100644 --- a/Dalamud/Game/ClientState/ClientState.cs +++ b/Dalamud/Game/ClientState/ClientState.cs @@ -1,5 +1,4 @@ using System; -using System.Linq; using System.Runtime.InteropServices; using Dalamud.Data; @@ -105,7 +104,7 @@ namespace Dalamud.Game.ClientState /// /// Gets the local player character, if one is present. /// - public PlayerCharacter? LocalPlayer => Service.GetNullable()?.FirstOrDefault() as PlayerCharacter; + public PlayerCharacter? LocalPlayer => Service.GetNullable()?[0] as PlayerCharacter; /// /// Gets the content ID of the local character.