Fix messages

This commit is contained in:
Necrodoom 2014-03-09 19:17:26 +02:00
parent c59a204827
commit a7d6e5440b
1 changed files with 4 additions and 4 deletions

View File

@ -675,7 +675,7 @@ public class GroupManager extends JavaPlugin {
}
auxGroup = dataHolder.getGroup(args[0]);
if (auxGroup != null) {
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group already exist!");
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group already exists!");
return true;
}
// Seems OK
@ -697,7 +697,7 @@ public class GroupManager extends JavaPlugin {
}
auxGroup = dataHolder.getGroup(args[0]);
if (auxGroup == null) {
sender.sendMessage(ChatColor.RED + "" + args[0] + " Group doesnt exist!");
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group doesnt exist!");
return true;
}
// Seems OK
@ -1929,7 +1929,7 @@ public class GroupManager extends JavaPlugin {
}
auxGroup = dataHolder.getGroup(args[1]);
if (auxGroup == null) {
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group doesnt exist!");
sender.sendMessage(ChatColor.RED + "'" + args[1] + "' Group doesnt exist!");
return true;
}
if (auxGroup.isGlobal()) {
@ -1985,7 +1985,7 @@ public class GroupManager extends JavaPlugin {
}
auxGroup = dataHolder.getGroup(args[1]);
if (auxGroup == null) {
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group doesnt exist!");
sender.sendMessage(ChatColor.RED + "'" + args[1] + "' Group doesnt exist!");
return true;
}
if (auxGroup.isGlobal()) {