/region allow now works (and adds users)
This commit is contained in:
parent
add7c74bec
commit
cb5a50f540
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue