Change TSPlayer.UserID to TSPlayer.User.ID, as well as refactoring some of UserManager.cs. Solves #916

This commit is contained in:
White 2015-05-01 11:18:37 +09:30
parent fcda79ea4c
commit 44ad0c68b8
6 changed files with 128 additions and 109 deletions

View file

@ -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
{