Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 16:40:10 +01:00
Fixup command registration once again (#3937)
Dieser Commit ist enthalten in:
Ursprung
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) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren