mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 10:05:12 +01:00
Fixup command registration once again (#3937)
This commit is contained in:
parent
72cc9e9968
commit
4a70e0ea2a
@ -27,7 +27,7 @@ import java.util.stream.Collectors;
|
||||
public class DisplayLeaksSubCmd implements ViaSubCommand {
|
||||
@Override
|
||||
public String name() {
|
||||
return "displayleaks <level>";
|
||||
return "displayleaks";
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -35,6 +35,11 @@ public class DisplayLeaksSubCmd implements ViaSubCommand {
|
||||
return "Try to hunt memory leaks!";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String usage() {
|
||||
return "displayleaks <level>";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean execute(ViaCommandSender sender, String[] args) {
|
||||
if (args.length == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user