mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
use enum
This commit is contained in:
1 parent
29f19af075
commit
a182387c3d
1 file changed
+1
-1
@@ -542,7 +542,7 @@ internal static class ChatCommands
|
||||
ClientData client = pc.GetClient();
|
||||
string name = Main.AllPlayerNames.GetValueOrDefault(pc.PlayerId, string.Empty);
|
||||
string id = string.IsNullOrEmpty(name) ? $"ID {pc.PlayerId}" : $" (ID {pc.PlayerId})";
|
||||
Utils.SendMessage($"<b>{name}{id}:</b>\n{pc.FriendCode}\n{client?.GetHashedPuid()}\n{client?.PlatformData.PlatformName}", player.PlayerId);
|
||||
Utils.SendMessage($"<b>{name}{id}:</b>\n{pc.FriendCode}\n{client?.GetHashedPuid()}\n{client?.PlatformData.Platform}", player.PlayerId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user