Change TSPlayer.UserID to TSPlayer.User.ID, as well as refactoring some of UserManager.cs. Solves #916
This commit is contained in:
parent
fcda79ea4c
commit
44ad0c68b8
6 changed files with 128 additions and 109 deletions
|
|
@ -85,7 +85,7 @@ namespace TShockAPI
|
|||
{
|
||||
if (includeIDs)
|
||||
{
|
||||
players.Add(ply.Name + " (IX: " + ply.Index + ", ID: " + ply.UserID + ")");
|
||||
players.Add(ply.Name + " (IX: " + ply.Index + ", ID: " + ply.User.ID + ")");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue