Make tpdeny prompt show /tpadeny instead of /tpaccept

As it should be showing
This commit is contained in:
Spottedleaf 2023-03-07 13:00:55 -08:00
parent 71a4219ab6
commit f86bc13d22

View File

@ -9065,7 +9065,7 @@ index 0000000000000000000000000000000000000000..d016294fc7eafbddf6d2a758e5803498
+} +}
diff --git a/src/main/java/io/papermc/paper/threadedregions/commands/CommandsTPA.java b/src/main/java/io/papermc/paper/threadedregions/commands/CommandsTPA.java diff --git a/src/main/java/io/papermc/paper/threadedregions/commands/CommandsTPA.java b/src/main/java/io/papermc/paper/threadedregions/commands/CommandsTPA.java
new file mode 100644 new file mode 100644
index 0000000000000000000000000000000000000000..f2259d295ce613e41097819482b2084dd9c1fdd9 index 0000000000000000000000000000000000000000..2861e0a2e1182bc8fd142acbf63facbcf6a392dc
--- /dev/null --- /dev/null
+++ b/src/main/java/io/papermc/paper/threadedregions/commands/CommandsTPA.java +++ b/src/main/java/io/papermc/paper/threadedregions/commands/CommandsTPA.java
@@ -0,0 +1,138 @@ @@ -0,0 +1,138 @@
@ -9166,7 +9166,7 @@ index 0000000000000000000000000000000000000000..f2259d295ce613e41097819482b2084d
+ .append( + .append(
+ Component.text() + Component.text()
+ .append(Component.text("Run or click ", NamedTextColor.GRAY)) + .append(Component.text("Run or click ", NamedTextColor.GRAY))
+ .append(Component.text("/tpaaccept ", NamedTextColor.DARK_RED)) + .append(Component.text("/tpadeny ", NamedTextColor.DARK_RED))
+ .append(Component.text(playerSender.getName(), NamedTextColor.RED)) + .append(Component.text(playerSender.getName(), NamedTextColor.RED))
+ .append(Component.text(" to deny", NamedTextColor.GRAY)) + .append(Component.text(" to deny", NamedTextColor.GRAY))
+ .build() + .build()