Simplified the perm command.

This commit is contained in:
Olof Larsson
2012-05-09 06:29:52 +02:00
parent a0a163056d
commit 5988e8e5af
6 changed files with 61 additions and 48 deletions

View File

@@ -388,7 +388,7 @@ public abstract class MCommand<T extends MPlugin>
}
return false;
}
public Boolean argAsBool(int idx, boolean def)
public Boolean argAsBool(int idx, Boolean def)
{
String str = this.argAsString(idx);
if (str == null) return def;