blank UUID ignore for login, forgot to add this file
This commit is contained in:
parent
a58e21191b
commit
f8e5e1e081
1 changed files with 1 additions and 1 deletions
|
|
@ -710,7 +710,7 @@ namespace TShockAPI
|
|||
{
|
||||
args.Player.SendErrorMessage("A user by that name does not exist.");
|
||||
}
|
||||
else if (user.Password.ToUpper() == encrPass.ToUpper() || (user.UUID == args.Player.UUID && !TShock.Config.DisableUUIDLogin))
|
||||
else if (user.Password.ToUpper() == encrPass.ToUpper() || (user.UUID == args.Player.UUID && !TShock.Config.DisableUUIDLogin && !String.IsNullOrWhiteSpace(args.Player.UUID)))
|
||||
{
|
||||
args.Player.PlayerData = TShock.CharacterDB.GetPlayerData(args.Player, TShock.Users.GetUserID(user.Name));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue