9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-30 12:29:18 +00:00

Armor stand cant kill by mob projectile

This commit is contained in:
violetc
2023-09-29 10:40:14 +08:00
parent aa4c184bcf
commit 0d5e5c36d3
13 changed files with 37 additions and 13 deletions

View File

@@ -131,10 +131,10 @@ index 07b79c811727e8a26f7c34908e9b2a6eb2fbea9e..cfdad68eb410690f57fd4ebfb1c27082
.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..406aea18f2c54fbe9a5642c84be71a5a4dcc60f6
index 0000000000000000000000000000000000000000..ce9855b560ee6602983b2d05c9f80902674f248f
--- /dev/null
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
@@ -0,0 +1,1042 @@
@@ -0,0 +1,1047 @@
+package top.leavesmc.leaves;
+
+import com.destroystokyo.paper.util.SneakyThrow;
@@ -1002,6 +1002,11 @@ index 0000000000000000000000000000000000000000..406aea18f2c54fbe9a5642c84be71a5a
+ disableMovedWronglyThreshold = getBoolean("settings.modify.disable-moved-wrongly-threshold", disableMovedWronglyThreshold);
+ }
+
+ public static boolean armorStandCantKillByMobProjectile = false;
+ private static void armorStandCantKillByMobProjectile() {
+ armorStandCantKillByMobProjectile = getBoolean("settings.modify.minecraft-old.armor-stand-cant-kill-by-mob-projectile", armorStandCantKillByMobProjectile);
+ }
+
+ public static final class WorldConfig {
+
+ public final String worldName;