aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0005-Paper-config-files.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-01-04 12:37:59 -0800
committerGitHub <[email protected]>2024-01-04 12:37:59 -0800
commit8379027ee06ad0da88daba873f1ff1ca4b33188b (patch)
treee48ec231e1286cf1c798242aa9f3170435f2fab5 /patches/server/0005-Paper-config-files.patch
parent19a620213f0a11e9f749530f0d03c5b5584664e9 (diff)
downloadPaper-8379027ee06ad0da88daba873f1ff1ca4b33188b.tar.gz
Paper-8379027ee06ad0da88daba873f1ff1ca4b33188b.zip
Fix cmd permission levels for command blocks (#7404)
Diffstat (limited to 'patches/server/0005-Paper-config-files.patch')
-rw-r--r--patches/server/0005-Paper-config-files.patch9
1 files changed, 8 insertions, 1 deletions
diff --git a/patches/server/0005-Paper-config-files.patch b/patches/server/0005-Paper-config-files.patch
index 845a260a25..750014e360 100644
--- a/patches/server/0005-Paper-config-files.patch
+++ b/patches/server/0005-Paper-config-files.patch
@@ -1393,7 +1393,7 @@ new file mode 100644
index 0000000000000000000000000000000000000000..071d3877e386a0c7c4d2f2e8ddd06e0765c49d0d
--- /dev/null
+++ b/src/main/java/io/papermc/paper/configuration/WorldConfiguration.java
-@@ -0,0 +1,541 @@
+@@ -0,0 +1,548 @@
+package io.papermc.paper.configuration;
+
+import com.google.common.collect.HashBasedTable;
@@ -1917,6 +1917,13 @@ index 0000000000000000000000000000000000000000..071d3877e386a0c7c4d2f2e8ddd06e07
+ }
+ }
+
++ public CommandBlocks commandBlocks;
++
++ public class CommandBlocks extends ConfigurationPart {
++ public int permissionsLevel = 2;
++ public boolean forceFollowPermLevel = true;
++ }
++
+ public Misc misc;
+
+ public class Misc extends ConfigurationPart {