found the possible fix for the server crash error with the command arg

This commit is contained in:
Alastair 2016-02-07 23:10:24 +00:00
parent 8887bbd9c3
commit 3d0b6a5366

View File

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