stop mobs from targeting afk players (#564)

Co-authored-by: Encode42 <me@encode42.dev>
This commit is contained in:
granny
2021-08-08 18:32:27 -07:00
committed by GitHub
parent 3c451101ac
commit fc79bca3c5
141 changed files with 502 additions and 484 deletions

View File

@@ -50,10 +50,10 @@ index c550b8c19837ed9bf730a3eb777bc00de4e7ceb2..02494dcc8a342f65b2855612aebeb019
private void spawnLingeringCloud() {
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index d5b79940ac74ecff4bfa3baa46edc9bcc604ebbb..93868f9f6c3ab28d9e37d26e13f708b2ff6ab7f1 100644
index 1b3b2a94cd33661c913706a297e6660cf7c93086..580f2a28adc946643951d16403ff53ebccbe7982 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -790,6 +790,7 @@ public class PurpurWorldConfig {
@@ -792,6 +792,7 @@ public class PurpurWorldConfig {
public double creeperChargedChance = 0.0D;
public boolean creeperAllowGriefing = true;
public boolean creeperBypassMobGriefing = false;
@@ -61,7 +61,7 @@ index d5b79940ac74ecff4bfa3baa46edc9bcc604ebbb..93868f9f6c3ab28d9e37d26e13f708b2
private void creeperSettings() {
creeperRidable = getBoolean("mobs.creeper.ridable", creeperRidable);
creeperRidableInWater = getBoolean("mobs.creeper.ridable-in-water", creeperRidableInWater);
@@ -802,6 +803,7 @@ public class PurpurWorldConfig {
@@ -804,6 +805,7 @@ public class PurpurWorldConfig {
creeperChargedChance = getDouble("mobs.creeper.naturally-charged-chance", creeperChargedChance);
creeperAllowGriefing = getBoolean("mobs.creeper.allow-griefing", creeperAllowGriefing);
creeperBypassMobGriefing = getBoolean("mobs.creeper.bypass-mob-griefing", creeperBypassMobGriefing);