mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Add config option to enable fix for MC-56653
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 01c1f69df3650e43577f784e416c171d9b42f7d5 Mon Sep 17 00:00:00 2001
|
||||
From dc61bb558c3e0895bdaa05b9b998e2319e3e3bfe Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sat, 27 Jul 2019 17:20:35 -0500
|
||||
Subject: [PATCH] Add option to disable pillager patrols
|
||||
@@ -21,11 +21,11 @@ index bb612b386..99bb38f03 100644
|
||||
return 0;
|
||||
} else {
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index 3ff26e47b..77a32cf65 100644
|
||||
index 29c656c59..704142198 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -202,6 +202,11 @@ public class PurpurConfig {
|
||||
phantomsOrbitCrystalsRadius = getDouble("settings.mobs.phantom.orbit-crystal-radius", phantomsOrbitCrystalsRadius);
|
||||
@@ -207,6 +207,11 @@ public class PurpurConfig {
|
||||
pigmenDontTargetUnlessHit = getBoolean("settings.mobs.pigmen.dont-target-unless-hit", pigmenDontTargetUnlessHit);
|
||||
}
|
||||
|
||||
+ public static boolean disablePillagerPatrols = false;
|
||||
|
||||
Reference in New Issue
Block a user