summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager/src
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2013-02-17 17:24:52 +0000
committerElgarL <ElgarL@palmergames.com>2013-02-17 17:24:52 +0000
commit7f972801bf1986d1a48b70a097cef8c1711b2c67 (patch)
tree25b571104bcc16a5c7f04dbd9b399cfdd07eb208 /EssentialsGroupManager/src
parent36e354388caf76288b912aa9e0fc031990dd3ca7 (diff)
downloadEssentials-7f972801bf1986d1a48b70a097cef8c1711b2c67.tar
Essentials-7f972801bf1986d1a48b70a097cef8c1711b2c67.tar.gz
Essentials-7f972801bf1986d1a48b70a097cef8c1711b2c67.tar.lz
Essentials-7f972801bf1986d1a48b70a097cef8c1711b2c67.tar.xz
Essentials-7f972801bf1986d1a48b70a097cef8c1711b2c67.zip
Fix Necrodooms code...again!
Diffstat (limited to 'EssentialsGroupManager/src')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index 600be1aba..1ed73d3fa 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -718,10 +718,10 @@ public class GroupManager extends JavaPlugin {
sender.sendMessage(ChatColor.RED + "Review your arguments count! (/<command> <player> <permission>)");
return false;
}
- String auxString = args[1];
+ auxString = args[1];
if (auxString.startsWith("'") && auxString.endsWith("'"))
{
- auxString = auxString.substring(1, auxString.length() - 1)
+ auxString = auxString.substring(1, auxString.length() - 1);
}
if ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {
return false;
@@ -959,10 +959,10 @@ public class GroupManager extends JavaPlugin {
sender.sendMessage(ChatColor.RED + "Review your arguments count! (/<command> <group> <permission>)");
return false;
}
- String auxString = args[1];
+ auxString = args[1];
if (auxString.startsWith("'") && auxString.endsWith("'"))
{
- auxString = auxString.substring(1, auxString.length() - 1)
+ auxString = auxString.substring(1, auxString.length() - 1);
}
auxGroup = dataHolder.getGroup(args[0]);
if (auxGroup == null) {
@@ -1246,7 +1246,7 @@ public class GroupManager extends JavaPlugin {
}
if (auxString.startsWith("'") && auxString.endsWith("'"))
{
- auxString = auxString.substring(1, auxString.length() - 1)
+ auxString = auxString.substring(1, auxString.length() - 1);
}
auxUser.getVariables().addVar(args[1], Variables.parseVariableValue(auxString));
sender.sendMessage(ChatColor.YELLOW + "Variable " + ChatColor.GOLD + args[1] + ChatColor.YELLOW + ":'" + ChatColor.GREEN + auxString + ChatColor.YELLOW + "' added to the user " + auxUser.getName());
@@ -1398,7 +1398,7 @@ public class GroupManager extends JavaPlugin {
}
if (auxString.startsWith("'") && auxString.endsWith("'"))
{
- auxString = auxString.substring(1, auxString.length() - 1)
+ auxString = auxString.substring(1, auxString.length() - 1);
}
auxGroup.getVariables().addVar(args[1], Variables.parseVariableValue(auxString));
sender.sendMessage(ChatColor.YELLOW + "Variable " + ChatColor.GOLD + args[1] + ChatColor.YELLOW + ":'" + ChatColor.GREEN + auxString + ChatColor.YELLOW + "' added to the group " + auxGroup.getName());