/region allow now works (and adds users)

This commit is contained in:
Lucas Nicodemus 2011-07-16 18:21:39 -06:00
parent add7c74bec
commit cb5a50f540
2 changed files with 4 additions and 4 deletions

View file

@ -1433,7 +1433,7 @@ namespace TShockAPI
}
if ((playerID = TShock.Users.GetUserByName(playerName)) != null)
{
if (TShock.Regions.AddNewUser(regionName, playerID))
if (TShock.Regions.AddNewUser(regionName, playerName))
{
args.Player.SendMessage("Added user " + playerName + " to " + regionName, Color.Yellow);
}