Fixed commands.

This commit is contained in:
sk89q
2011-01-29 09:31:48 -08:00
parent f683959420
commit 712274d372
7 changed files with 16 additions and 16 deletions

View File

@ -66,7 +66,7 @@ public class CommandContext {
public String[] getPaddedSlice(int index, int padding) {
String[] slice = new String[args.length - index + padding];
System.arraycopy(args, index, slice, padding, args.length - index + padding);
System.arraycopy(args, index, slice, padding, args.length - index);
return slice;
}