Brigadier Command Support (#8235)
Adds the ability for plugins to register their own brigadier commands --------- Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Co-authored-by: Bjarne Koll <git@lynxplay.dev>
This commit is contained in:
parent
8a5ea7e5cf
commit
567cc3f4b3
27 changed files with 5176 additions and 496 deletions
|
@ -230,9 +230,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
--- a/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java
|
||||
@@ -0,0 +0,0 @@ public final class VanillaCommandWrapper extends BukkitCommand {
|
||||
} else {
|
||||
commandName = vanillaCommand.getRedirect().getName();
|
||||
vanillaCommand = vanillaCommand.getRedirect();
|
||||
}
|
||||
final String commandName = vanillaCommand.getName();
|
||||
+ if ("pgive".equals(stripDefaultNamespace(commandName))) {
|
||||
+ return "bukkit.command.paper.pgive";
|
||||
+ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue