summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2014-05-28 11:56:11 +0100
committerElgarL <ElgarL@palmergames.com>2014-05-28 11:56:11 +0100
commitd9fdf3bdf6b735103ce9010f1fa59bab6fe9bd1e (patch)
treefc30ba410863fcb288f2582f3ae8fb87b94e2378 /EssentialsGroupManager
parent34a323125f43754737959d966c29e30aeaf73f81 (diff)
parent6779c9f0d3a0d63351d436c2a112d18638f274a9 (diff)
downloadEssentials-d9fdf3bdf6b735103ce9010f1fa59bab6fe9bd1e.tar
Essentials-d9fdf3bdf6b735103ce9010f1fa59bab6fe9bd1e.tar.gz
Essentials-d9fdf3bdf6b735103ce9010f1fa59bab6fe9bd1e.tar.lz
Essentials-d9fdf3bdf6b735103ce9010f1fa59bab6fe9bd1e.tar.xz
Essentials-d9fdf3bdf6b735103ce9010f1fa59bab6fe9bd1e.zip
Merge pull request #708 from necrodoom/patch-105
[REPULL] Fix successful message color
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index c902604b0..ac8404956 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -1259,7 +1259,7 @@ public class GroupManager extends JavaPlugin {
}
// Seems OK
auxGroup.addInherits(auxGroup2);
- sender.sendMessage(ChatColor.RED + "Group " + auxGroup2.getName() + " is now in " + auxGroup.getName() + " inheritance list.");
+ sender.sendMessage(ChatColor.YELLOW + "Group " + auxGroup2.getName() + " is now in " + auxGroup.getName() + " inheritance list.");
BukkitPermissions.updateAllPlayers();
@@ -1293,16 +1293,16 @@ public class GroupManager extends JavaPlugin {
// Validating permission
if (!permissionHandler.hasGroupInInheritance(auxGroup, auxGroup2.getName())) {
- sender.sendMessage(ChatColor.RED + "Group " + auxGroup.getName() + " does not inherits " + auxGroup2.getName() + ".");
+ sender.sendMessage(ChatColor.RED + "Group " + auxGroup.getName() + " does not inherit " + auxGroup2.getName() + ".");
return true;
}
if (!auxGroup.getInherits().contains(auxGroup2.getName())) {
- sender.sendMessage(ChatColor.RED + "Group " + auxGroup.getName() + " does not inherits " + auxGroup2.getName() + " directly.");
+ sender.sendMessage(ChatColor.RED + "Group " + auxGroup.getName() + " does not inherit " + auxGroup2.getName() + " directly.");
return true;
}
// Seems OK
auxGroup.removeInherits(auxGroup2.getName());
- sender.sendMessage(ChatColor.RED + "Group " + auxGroup2.getName() + " was removed from " + auxGroup.getName() + " inheritance list.");
+ sender.sendMessage(ChatColor.YELLOW + "Group " + auxGroup2.getName() + " was removed from " + auxGroup.getName() + " inheritance list.");
BukkitPermissions.updateAllPlayers();