Notify user that world is protected from changed when anti build is on.

This commit is contained in:
ricky 2011-06-14 14:40:58 +10:00
parent a1a82745d0
commit 1ce4e75eff

View file

@ -349,6 +349,7 @@ namespace TShockAPI
{ {
if (!players[e.Msg.whoAmI].group.HasPermission("editspawn")) if (!players[e.Msg.whoAmI].group.HasPermission("editspawn"))
{ {
Tools.SendMessage(e.Msg.whoAmI, "World protected from changes.", Color.Red);
return true; return true;
} }
} }