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