mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 21:51:19 -04:00
Core: Fix wrong colour for build blacklist in /mi
This commit is contained in:
parent
2fc4e86dfa
commit
e6c254ae4d
@ -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))
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user