Fix command label placeholder in usage for /tps

Only <command> gets replaced with the provided label
This commit is contained in:
Spottedleaf 2023-03-07 17:34:45 -08:00
parent 68b20e0acc
commit b00a16a66d
1 changed files with 2 additions and 2 deletions

View File

@ -8604,7 +8604,7 @@ index 0000000000000000000000000000000000000000..390bda127be9be5349c1c442ca01df6b
+}
diff --git a/src/main/java/io/papermc/paper/threadedregions/commands/CommandServerHealth.java b/src/main/java/io/papermc/paper/threadedregions/commands/CommandServerHealth.java
new file mode 100644
index 0000000000000000000000000000000000000000..85348ddd7568ea68bfdb5092ded14886359c0c01
index 0000000000000000000000000000000000000000..98aacd93794e7bde711b5a1e56aa6e82c8e9da1b
--- /dev/null
+++ b/src/main/java/io/papermc/paper/threadedregions/commands/CommandServerHealth.java
@@ -0,0 +1,332 @@
@ -8652,7 +8652,7 @@ index 0000000000000000000000000000000000000000..85348ddd7568ea68bfdb5092ded14886
+
+ public CommandServerHealth() {
+ super("tps");
+ this.setUsage("/<cmd> [server/region] [lowest regions to display]");
+ this.setUsage("/<command> [server/region] [lowest regions to display]");
+ this.setDescription("Reports information about server health.");
+ this.setPermission("bukkit.command.tps");
+ }