Skip to content

Commit

Permalink
Add offline id support to Player.Get
Browse files Browse the repository at this point in the history
  • Loading branch information
x3rt committed Aug 1, 2024
1 parent 54371a1 commit 1f80cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ public static Player Get(string args)
if (int.TryParse(args, out int id))
return Get(id);

if (args.EndsWith("@steam") || args.EndsWith("@discord") || args.EndsWith("@northwood"))
if (args.EndsWith("@steam") || args.EndsWith("@discord") || args.EndsWith("@northwood") || args.EndsWith("@offline"))
{
foreach (Player player in Dictionary.Values)
{
Expand Down

0 comments on commit 1f80cd5

Please sign in to comment.