mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 02:47:43 +01:00
Change some default config options to match vanilla behaviors
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From d7a757e28cdc8a72d55d176dd34bc96721179e2c Mon Sep 17 00:00:00 2001
|
||||
From 17854f31076fcfe3b5f2620b3285a38d92f8e741 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 bb612b3861..99bb38f033 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 85acb47ad4..baca254e91 100644
|
||||
index 5621edab52..f47756fa66 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -197,6 +197,11 @@ public class PurpurConfig {
|
||||
ironGolemSwims = getBoolean("settings.mobs.iron_golem.swims", ironGolemSwims);
|
||||
@@ -208,6 +208,11 @@ public class PurpurConfig {
|
||||
spawnPhantomsInTheEnd = getBoolean("settings.mobs.phantom.spawn-in-the-end", spawnPhantomsInTheEnd);
|
||||
}
|
||||
|
||||
+ public static boolean disablePillagerPatrols = false;
|
||||
@@ -33,9 +33,9 @@ index 85acb47ad4..baca254e91 100644
|
||||
+ disablePillagerPatrols = getBoolean("settings.mobs.pillager.disable-patrols", disablePillagerPatrols);
|
||||
+ }
|
||||
+
|
||||
public static boolean spawnPhantomsInTheEnd = true;
|
||||
private static void phantomSettings() {
|
||||
spawnPhantomsInTheEnd = getBoolean("settings.mobs.phantom.spawn-in-the-end", spawnPhantomsInTheEnd);
|
||||
public static boolean snowmanDropsPumpkin = false;
|
||||
public static boolean snowmanPumpkinPutBack = false;
|
||||
private static void snowmansSettings() {
|
||||
--
|
||||
2.20.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user