bunch of fixes and improvements

This commit is contained in:
Jake Potrebic
2024-04-26 23:17:58 -07:00
parent 77e87218b9
commit cafa0f3267
9 changed files with 301 additions and 46 deletions

View File

@@ -37,8 +37,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/net/minecraft/commands/Commands.java
+++ b/src/main/java/net/minecraft/commands/Commands.java
@@ -0,0 +0,0 @@ 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()) {