Add automatic upgrade to add 1.19 strippables

This commit is contained in:
BillyGalbreath
2022-06-13 15:39:57 -05:00
parent f9e8de2a87
commit beb56e6e6c
42 changed files with 253 additions and 249 deletions

View File

@@ -17,10 +17,10 @@ index 4b9d13fb36d0e35f1cc7a5d95b26dc5f8ded0d6a..a6378e6db70ba80aaa18954766f029cd
++this.timeSinceSting;
if (this.timeSinceSting % 5 == 0 && this.random.nextInt(Mth.clamp(1200 - this.timeSinceSting, (int) 1, (int) 1200)) == 0) {
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
index 323b2cae0ce30b9eae0bc94e3780d3e3ce71c1ff..5fd6e5a151302f5da6fb80d48fabd8bf6f091e9a 100644
index f19e95fecdf19bf56d456e4e35edbe0abe5d5839..88bffce4f59c9d52ccaff90eeded2e375cc50f7a 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
@@ -1080,6 +1080,7 @@ public class PurpurWorldConfig {
@@ -1084,6 +1084,7 @@ public class PurpurWorldConfig {
public boolean beeCanWorkAtNight = false;
public boolean beeCanWorkInRain = false;
public boolean beeAlwaysDropExp = false;
@@ -28,7 +28,7 @@ index 323b2cae0ce30b9eae0bc94e3780d3e3ce71c1ff..5fd6e5a151302f5da6fb80d48fabd8bf
private void beeSettings() {
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
@@ -1096,6 +1097,7 @@ public class PurpurWorldConfig {
@@ -1100,6 +1101,7 @@ public class PurpurWorldConfig {
beeCanWorkAtNight = getBoolean("mobs.bee.can-work-at-night", beeCanWorkAtNight);
beeCanWorkInRain = getBoolean("mobs.bee.can-work-in-rain", beeCanWorkInRain);
beeAlwaysDropExp = getBoolean("mobs.bee.always-drop-exp", beeAlwaysDropExp);