diff options
author | Jake Potrebic <[email protected]> | 2024-04-26 23:17:58 -0700 |
---|---|---|
committer | Jake Potrebic <[email protected]> | 2024-04-26 23:17:58 -0700 |
commit | 91b5de66bf95858fb5e34d9634b7f1fde5084e8b (patch) | |
tree | 0a7da40caea7e6f3b31a100025725412589ac4a9 /patches/server/0615-Vanilla-command-permission-fixes.patch | |
parent | 81f4405e2630f408a07793564b6eb28b562ed78d (diff) | |
download | Paper-91b5de66bf95858fb5e34d9634b7f1fde5084e8b.tar.gz Paper-91b5de66bf95858fb5e34d9634b7f1fde5084e8b.zip |
bunch of fixes and improvements
Diffstat (limited to 'patches/server/0615-Vanilla-command-permission-fixes.patch')
-rw-r--r-- | patches/server/0615-Vanilla-command-permission-fixes.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0615-Vanilla-command-permission-fixes.patch b/patches/server/0615-Vanilla-command-permission-fixes.patch index 65bcdb8f85..e7be2c02c2 100644 --- a/patches/server/0615-Vanilla-command-permission-fixes.patch +++ b/patches/server/0615-Vanilla-command-permission-fixes.patch @@ -33,12 +33,12 @@ index 899008b2980d13f1be6280cd8cb959c53a29bebf..d5f7da3502575f6847f3c22ab0e94284 private RedirectModifier<S> modifier = null; private boolean forks; diff --git a/src/main/java/net/minecraft/commands/Commands.java b/src/main/java/net/minecraft/commands/Commands.java -index 8bc9da1a23a7bac65557114171f2f9391b0a32b0..412c21ce2dcd772e525432efadff7e1340cb58e9 100644 +index 3728b051b9eb9e9e06bc765a9a2fae7f45daf6ff..779fee2f9b819124a01b9f8d2b7ed0d5f2accf6c 100644 --- a/src/main/java/net/minecraft/commands/Commands.java +++ b/src/main/java/net/minecraft/commands/Commands.java -@@ -260,6 +260,13 @@ public class Commands { +@@ -258,6 +258,13 @@ public class Commands { + PublishCommand.register(this.dispatcher); } - this.vanillaCommandNodes.addAll(this.dispatcher.getRoot().getChildren()); // Paper - Add UnknownCommandEvent + // Paper start - Vanilla command permission fixes + for (final CommandNode<CommandSourceStack> node : this.dispatcher.getRoot().getChildren()) { |