Fixed "unknown command" on vanilla commands with no args (even though it's intended behavior...)

This commit is contained in:
Dinnerbone
2011-09-15 03:04:55 +01:00
parent aedcba07b8
commit 91fd209a3b
15 changed files with 15 additions and 15 deletions

View File

@@ -39,6 +39,6 @@ public class SayCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
return input.startsWith("say ");
return input.startsWith("say ") || input.equalsIgnoreCase("say");
}
}