mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 10:36:17 +01:00
found the possible fix for the server crash error with the command arg
This commit is contained in:
parent
8887bbd9c3
commit
3d0b6a5366
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user