summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2012-01-19 13:08:57 +0000
committerElgarL <ElgarL@palmergames.com>2012-01-19 13:08:57 +0000
commit7ee391917536686ed8faad16534754e1b3a4df18 (patch)
tree1bbff56c661981462090a47ca74c43145aa6c502
parent16d537bd6c1e8396c9aa02e74e5ed53ce4287bd6 (diff)
downloadEssentials-7ee391917536686ed8faad16534754e1b3a4df18.tar
Essentials-7ee391917536686ed8faad16534754e1b3a4df18.tar.gz
Essentials-7ee391917536686ed8faad16534754e1b3a4df18.tar.lz
Essentials-7ee391917536686ed8faad16534754e1b3a4df18.tar.xz
Essentials-7ee391917536686ed8faad16534754e1b3a4df18.zip
Fixed text when adding a subgroup to not say the player was moved.
-rw-r--r--EssentialsGroupManager/src/Changelog.txt3
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/Changelog.txt b/EssentialsGroupManager/src/Changelog.txt
index d278aa127..470ccc911 100644
--- a/EssentialsGroupManager/src/Changelog.txt
+++ b/EssentialsGroupManager/src/Changelog.txt
@@ -105,4 +105,5 @@ v 1.8:
v 1.9:
- Optimize populating Bukkit perms so we no longer calculate the child nodes (Bukkit already does this).
- Added a tidy error message for invalid permission entries in GlobalGroups.
- - Better optimize assembling of a players permissions and allow the * node to populate all registered superperms. \ No newline at end of file
+ - Better optimize assembling of a players permissions and allow the * node to populate all registered superperms.
+ - Fixed text when adding a subgroup to not say the player was moved. \ No newline at end of file
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index 8134a1c23..76b9e46b2 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -493,7 +493,7 @@ public class GroupManager extends JavaPlugin {
}
// PARECE OK
auxUser.addSubGroup(auxGroup);
- sender.sendMessage(ChatColor.YELLOW + "You changed player '" + auxUser.getName() + "' group to '" + auxGroup.getName() + "'.");
+ sender.sendMessage(ChatColor.YELLOW + "You added subgroup '" + auxGroup.getName() + "' to player '" + auxUser.getName() + "'.");
targetPlayer = this.getServer().getPlayer(auxUser.getName());
if (targetPlayer != null)