summaryrefslogtreecommitdiffhomepage
path: root/build-data/paper.at
diff options
context:
space:
mode:
authorJason <[email protected]>2021-08-25 17:20:24 -0500
committerGitHub <[email protected]>2021-08-25 15:20:24 -0700
commit3773df24ce81173242bff99a2a9991f7a88a66b2 (patch)
treeb35a583ad0e9bb4cf38dd845d8a5c21267f7dd80 /build-data/paper.at
parentb4ef78556c921f712cd819ee6f136fa71f15fa3e (diff)
downloadPaper-3773df24ce81173242bff99a2a9991f7a88a66b2.tar.gz
Paper-3773df24ce81173242bff99a2a9991f7a88a66b2.zip
Vanilla command permission fixes (fixes #6085) (#6490)
Fixes permission checks for vanilla commands which don't have a requirement, as well as for namespaced vanilla commands.
Diffstat (limited to 'build-data/paper.at')
-rw-r--r--build-data/paper.at3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-data/paper.at b/build-data/paper.at
index 59c32f006c..09fa424d9f 100644
--- a/build-data/paper.at
+++ b/build-data/paper.at
@@ -237,3 +237,6 @@ public-f net.minecraft.world.level.chunk.DataLayer
# Add methods to get translation keys
public org.bukkit.craftbukkit.inventory.CraftMetaFirework
public org.bukkit.craftbukkit.inventory.CraftMetaFirework getNBT(Lorg/bukkit/FireworkEffect$Type;)I
+
+# Vanilla command permission fixes
+public-f com.mojang.brigadier.tree.CommandNode requirement