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