mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 02:07:39 +00:00
Removed redundant code.
This commit is contained in:
parent
c7dff09f11
commit
d8288afe04
@ -31,14 +31,6 @@ public class CommandContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public CommandContext(String[] args) {
|
public CommandContext(String[] args) {
|
||||||
ArrayList<String> splitArgs = new ArrayList<String>();
|
|
||||||
for (String arg : args) {
|
|
||||||
if (!arg.equals(null) && !arg.equals("")) {
|
|
||||||
splitArgs.add(arg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
args = splitArgs.toArray(new String[0]);
|
|
||||||
|
|
||||||
int i = 1;
|
int i = 1;
|
||||||
for (; i < args.length; i++) {
|
for (; i < args.length; i++) {
|
||||||
if (args[i].length() == 0) {
|
if (args[i].length() == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user