diff --git a/patches/server/CB-fixes.patch b/patches/server/CB-fixes.patch index 714f4d6405..c9568056bf 100644 --- a/patches/server/CB-fixes.patch +++ b/patches/server/CB-fixes.patch @@ -102,6 +102,18 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } @Override +diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/org/bukkit/craftbukkit/Main.java ++++ b/src/main/java/org/bukkit/craftbukkit/Main.java +@@ -0,0 +0,0 @@ public class Main { + + this.acceptsAll(Main.asList("forceUpgrade"), "Whether to force a world upgrade"); + this.acceptsAll(Main.asList("eraseCache"), "Whether to force cache erase during world upgrade"); ++ this.accepts("safeMode", "Loads level with vanilla datapack only"); // Paper + this.acceptsAll(Main.asList("nogui"), "Disables the graphical console"); + + this.acceptsAll(Main.asList("nojline"), "Disables jline and emulates the vanilla console"); diff --git a/src/main/java/org/bukkit/craftbukkit/util/permissions/CraftDefaultPermissions.java b/src/main/java/org/bukkit/craftbukkit/util/permissions/CraftDefaultPermissions.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/permissions/CraftDefaultPermissions.java