Core: Fix wrong colour for build blacklist in /mi

This commit is contained in:
UnknownShadow200 2016-10-19 10:30:28 +11:00
parent 2fc4e86dfa
commit e6c254ae4d
2 changed files with 4 additions and 3 deletions

View File

@ -106,7 +106,7 @@ namespace MCGalaxy.Commands {
Player.Message(p, " &aBuild whitelist: " + JoinNames(bWhitelist, p));
}
if (bBlacklist.Count > 0) {
Player.Message(p, " &Build blacklist: " + JoinNames(bBlacklist, p));
Player.Message(p, " &cBuild blacklist: " + JoinNames(bBlacklist, p));
}
if (String.IsNullOrEmpty(data.RealmOwner))

View File

@ -169,8 +169,9 @@ namespace MCGalaxy {
bool CheckRank(Player p, LevelPermission perm, string type, bool newPerm) {
if (p != null && perm > p.Rank) {
Player.Message(p, "You cannot change the {0} rank of a level {1} a {0} rank higher than yours.",
type.ToLower(), newPerm ? "to" : "with");
Player.Message(p, "You cannot change the {0} rank of this level{1} higher than yours.",
type.ToLower(),
newPerm ? " to a rank" : ", as its current " + type.ToLower() + " rank is");
return false;
}
return true;