1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-04 18:11:43 +02:00

Fixed text when adding a subgroup to not say the player was moved.

This commit is contained in:
ElgarL
2012-01-19 13:08:57 +00:00
parent 4661382e7b
commit a5fb87e1d0
2 changed files with 3 additions and 2 deletions

View File

@@ -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)