diff --git a/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java b/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java index 5232322a..09f40c9c 100644 --- a/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java +++ b/src/com/sekwah/advancedportals/AdvancedPortalsCommand.java @@ -131,7 +131,7 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter { else if(args[i].toLowerCase().startsWith("command:") && args[i].length() > 8){ // not completely implemented executesCommand = true; portalCommand = parseArgVariable(args,i,"command:"); - i = this.portalArgsStringLength; + i += this.portalArgsStringLength; extraData.add(new PortalArg("command.1", portalCommand)); } }