diff --git a/patches/server/0047-Plazma-Add-missing-purpur-configuration-options.patch b/patches/server/0047-Plazma-Add-missing-purpur-configuration-options.patch index c6c909aa..41aabb2c 100644 --- a/patches/server/0047-Plazma-Add-missing-purpur-configuration-options.patch +++ b/patches/server/0047-Plazma-Add-missing-purpur-configuration-options.patch @@ -9,10 +9,10 @@ Original project: https://github.com/PlazmaMC/PlazmaBukkit Add more Purpur configurable options for entities diff --git a/src/main/java/net/minecraft/world/entity/animal/allay/Allay.java b/src/main/java/net/minecraft/world/entity/animal/allay/Allay.java -index 82a941117edcca155c04afc11a8e018574db9922..0f30a21820fa7bb7b481ef71bf4722652d2f7ece 100644 +index 82a941117edcca155c04afc11a8e018574db9922..ec4b1f58a01677a931cbadd5b5d9cf7779394d60 100644 --- a/src/main/java/net/minecraft/world/entity/animal/allay/Allay.java +++ b/src/main/java/net/minecraft/world/entity/animal/allay/Allay.java -@@ -160,6 +160,23 @@ public class Allay extends PathfinderMob implements InventoryCarrier, VibrationS +@@ -160,6 +160,18 @@ public class Allay extends PathfinderMob implements InventoryCarrier, VibrationS } // Purpur end @@ -26,11 +26,6 @@ index 82a941117edcca155c04afc11a8e018574db9922..0f30a21820fa7bb7b481ef71bf472265 + public boolean isAlwaysExperienceDropper() { + return level().purpurConfig.allayAlwaysDropExp; + } -+ -+ @Override -+ public void initAttributes() { -+ this.getAttribute(Attributes.MAX_HEALTH).setBaseValue(level().purpurConfig.allayMaxHealth); -+ } + // Leaf end - Plazma + @Override