mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-30 20:39:15 +00:00
Container open passthrough (#57)
This commit is contained in:
@@ -128,10 +128,10 @@ index 35d2da9d91dcdd89de7c0f4af028fd182376ea8d..d73482fb1e71fe2951e96ae0593de268
|
||||
.withRequiredArg()
|
||||
diff --git a/src/main/java/top/leavesmc/leaves/LeavesConfig.java b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..24bbcab59ebe153516e602180db0b0353b9dffde
|
||||
index 0000000000000000000000000000000000000000..8a2b48542be4c40898464f79ac332f29e6880c3d
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
@@ -0,0 +1,819 @@
|
||||
@@ -0,0 +1,824 @@
|
||||
+package top.leavesmc.leaves;
|
||||
+
|
||||
+import com.destroystokyo.paper.util.SneakyThrow;
|
||||
@@ -776,6 +776,11 @@ index 0000000000000000000000000000000000000000..24bbcab59ebe153516e602180db0b035
|
||||
+ skipSelfRaidCheck = getBoolean("settings.modify.raider-die-skip-self-raid-check", skipSelfRaidCheck);
|
||||
+ }
|
||||
+
|
||||
+ public static boolean containerPassthrough = false;
|
||||
+ private static void containerPassthrough() {
|
||||
+ containerPassthrough = getBoolean("settings.modify.container-passthrough", containerPassthrough);
|
||||
+ }
|
||||
+
|
||||
+ public static final class WorldConfig {
|
||||
+
|
||||
+ public final String worldName;
|
||||
|
||||
Reference in New Issue
Block a user