Fixed "unknown command" on vanilla commands with no args (even though it's intended behavior...)
This commit is contained in:
@@ -29,6 +29,6 @@ public class PardonCommand extends VanillaCommand {
|
||||
|
||||
@Override
|
||||
public boolean matches(String input) {
|
||||
return input.startsWith("pardon ");
|
||||
return input.startsWith("pardon ") || input.equalsIgnoreCase("pardon");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user