mirror of
https://github.com/PaperMC/Folia.git
synced 2024-11-25 12:35:23 +01:00
Fix command label placeholder in usage for /tps
Only <command> gets replaced with the provided label
This commit is contained in:
parent
68b20e0acc
commit
b00a16a66d
@ -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
|
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
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..85348ddd7568ea68bfdb5092ded14886359c0c01
|
index 0000000000000000000000000000000000000000..98aacd93794e7bde711b5a1e56aa6e82c8e9da1b
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/io/papermc/paper/threadedregions/commands/CommandServerHealth.java
|
+++ b/src/main/java/io/papermc/paper/threadedregions/commands/CommandServerHealth.java
|
||||||
@@ -0,0 +1,332 @@
|
@@ -0,0 +1,332 @@
|
||||||
@ -8652,7 +8652,7 @@ index 0000000000000000000000000000000000000000..85348ddd7568ea68bfdb5092ded14886
|
|||||||
+
|
+
|
||||||
+ public CommandServerHealth() {
|
+ public CommandServerHealth() {
|
||||||
+ super("tps");
|
+ 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.setDescription("Reports information about server health.");
|
||||||
+ this.setPermission("bukkit.command.tps");
|
+ this.setPermission("bukkit.command.tps");
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
Reference in New Issue
Block a user