Fix #462 - also renamed option for clarity

This commit is contained in:
William Blake Galbreath
2021-07-03 08:00:18 -05:00
parent 1ca029cdcc
commit c69c0bcadf
46 changed files with 225 additions and 219 deletions

View File

@@ -31,10 +31,10 @@ index 3c51e6d419a244b9270119590aa299527163c331..b466b0430dd94777975a1e7ab9792166
}
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index 3e83426a6c3e0c836726fb487da7bc5cb7e4166c..6a7827fd7f47dd4a6d46b7769ac9d0da3a108b3b 100644
index e01a4d1de37535c189694097c37427f61e9eef86..f4e2e13591948e4f20d17670279d7f8dc30d6fb3 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -1484,6 +1484,7 @@ public class PurpurWorldConfig {
@@ -1490,6 +1490,7 @@ public class PurpurWorldConfig {
public boolean ravagerRidableInWater = false;
public double ravagerMaxHealth = 100.0D;
public boolean ravagerBypassMobGriefing = false;
@@ -42,7 +42,7 @@ index 3e83426a6c3e0c836726fb487da7bc5cb7e4166c..6a7827fd7f47dd4a6d46b7769ac9d0da
private void ravagerSettings() {
ravagerRidable = getBoolean("mobs.ravager.ridable", ravagerRidable);
ravagerRidableInWater = getBoolean("mobs.ravager.ridable-in-water", ravagerRidableInWater);
@@ -1494,6 +1495,23 @@ public class PurpurWorldConfig {
@@ -1500,6 +1501,23 @@ public class PurpurWorldConfig {
}
ravagerMaxHealth = getDouble("mobs.ravager.attributes.max_health", ravagerMaxHealth);
ravagerBypassMobGriefing = getBoolean("mobs.ravager.bypass-mob-griefing", ravagerBypassMobGriefing);