package de.philworld.bukkit.compassex.command;

import org.bukkit.command.Command;

public class CommandContext {

	public final Command command;
	public final String label;
	/**
	 * Lower-cased first argument to the command.
	 */
	public final String base;
	public final String arg1;
	public final String arg2;
	public final String arg3;

	public CommandContext(org.bukkit.command.Command command, String label, String[] args) {
		this.command = command;
		this.label = label;
		base = args.length > 0 ? args[0].toLowerCase() : "";
		arg1 = args.length > 1 ? args[1].toLowerCase() : "";
		arg2 = args.length > 2 ? args[2].toLowerCase() : "";
		arg3 = args.length > 3 ? args[3].toLowerCase() : "";
	}

}

@@ -331,16 +331,43 @@
 ng arg3;
+%0A%09public final String arg4;
 %0A%0A%09publi
@@ -718,14 +718,69 @@
 ) : %22%22;%0A
+%09%09arg4 = args.length %3E 4 ? args%5B4%5D.toLowerCase() : %22%22;%0A
 %09%7D%0A%0A%7D%0A

Add arg4 in CommandContext