mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-02 20:57:32 +02:00
Fix messages
This commit is contained in:
@@ -675,7 +675,7 @@ public class GroupManager extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
auxGroup = dataHolder.getGroup(args[0]);
|
auxGroup = dataHolder.getGroup(args[0]);
|
||||||
if (auxGroup != null) {
|
if (auxGroup != null) {
|
||||||
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group already exist!");
|
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group already exists!");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Seems OK
|
// Seems OK
|
||||||
@@ -697,7 +697,7 @@ public class GroupManager extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
auxGroup = dataHolder.getGroup(args[0]);
|
auxGroup = dataHolder.getGroup(args[0]);
|
||||||
if (auxGroup == null) {
|
if (auxGroup == null) {
|
||||||
sender.sendMessage(ChatColor.RED + "" + args[0] + " Group doesnt exist!");
|
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group doesnt exist!");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Seems OK
|
// Seems OK
|
||||||
@@ -1929,7 +1929,7 @@ public class GroupManager extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
auxGroup = dataHolder.getGroup(args[1]);
|
auxGroup = dataHolder.getGroup(args[1]);
|
||||||
if (auxGroup == null) {
|
if (auxGroup == null) {
|
||||||
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group doesnt exist!");
|
sender.sendMessage(ChatColor.RED + "'" + args[1] + "' Group doesnt exist!");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (auxGroup.isGlobal()) {
|
if (auxGroup.isGlobal()) {
|
||||||
@@ -1985,7 +1985,7 @@ public class GroupManager extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
auxGroup = dataHolder.getGroup(args[1]);
|
auxGroup = dataHolder.getGroup(args[1]);
|
||||||
if (auxGroup == null) {
|
if (auxGroup == null) {
|
||||||
sender.sendMessage(ChatColor.RED + "'" + args[0] + "' Group doesnt exist!");
|
sender.sendMessage(ChatColor.RED + "'" + args[1] + "' Group doesnt exist!");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (auxGroup.isGlobal()) {
|
if (auxGroup.isGlobal()) {
|
||||||
|
Reference in New Issue
Block a user