Fixed AIOOBE and a missing return, removed an unused and ambiguous method from CommandContext.
This commit is contained in:
@@ -221,10 +221,6 @@ public class CommandContext {
|
||||
return Double.parseDouble(value);
|
||||
}
|
||||
|
||||
public int length() {
|
||||
return args.length;
|
||||
}
|
||||
|
||||
public int argsLength() {
|
||||
return args.length - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user