Notify user that world is protected from changed when anti build is on.
This commit is contained in:
parent
a1a82745d0
commit
1ce4e75eff
1 changed files with 1 additions and 0 deletions
|
|
@ -349,6 +349,7 @@ namespace TShockAPI
|
|||
{
|
||||
if (!players[e.Msg.whoAmI].group.HasPermission("editspawn"))
|
||||
{
|
||||
Tools.SendMessage(e.Msg.whoAmI, "World protected from changes.", Color.Red);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue