Skip to content

Commit

Permalink
💀💀💀
Browse files Browse the repository at this point in the history
  • Loading branch information
IRacle1 committed Aug 14, 2024
1 parent afdb0b2 commit 904865e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1277,13 +1277,8 @@ public static Player Get(GameObject gameObject)
if (Dictionary.TryGetValue(gameObject, out Player player))
return player;

if (UnverifiedPlayers.TryGetValue(gameObject, out player))
return player;

if (ReferenceHub.TryGetHub(gameObject, out ReferenceHub hub))
return new(hub);

return null;
UnverifiedPlayers.TryGetValue(gameObject, out player);
return player;
}

/// <summary>
Expand Down

0 comments on commit 904865e

Please sign in to comment.