Fix cmd permission levels for command blocks (#7404)

This commit is contained in:
Jake Potrebic 2024-01-04 12:37:59 -08:00 committed by GitHub
parent 19a620213f
commit 8379027ee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 98 additions and 28 deletions

View file

@ -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 {