Skip to content

Commit 1f80cd5

Browse files
committed
Add offline id support to Player.Get
1 parent 54371a1 commit 1f80cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EXILED/Exiled.API/Features/Player.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ public static Player Get(string args)
12961296
if (int.TryParse(args, out int id))
12971297
return Get(id);
12981298

1299-
if (args.EndsWith("@steam") || args.EndsWith("@discord") || args.EndsWith("@northwood"))
1299+
if (args.EndsWith("@steam") || args.EndsWith("@discord") || args.EndsWith("@northwood") || args.EndsWith("@offline"))
13001300
{
13011301
foreach (Player player in Dictionary.Values)
13021302
{

0 commit comments

Comments
 (0)