summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityWither.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityWither.patch')
-rw-r--r--nms-patches/EntityWither.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityWither.patch b/nms-patches/EntityWither.patch
index 77708f47..920308ca 100644
--- a/nms-patches/EntityWither.patch
+++ b/nms-patches/EntityWither.patch
@@ -13,6 +13,15 @@
public class EntityWither extends EntityMonster implements IRangedEntity {
private static final DataWatcherObject<Integer> a = DataWatcher.a(EntityWither.class, DataWatcherRegistry.b);
+@@ -19,7 +25,7 @@
+ private final int[] bI = new int[2];
+ private final int[] bJ = new int[2];
+ private int bK;
+- private final BossBattleServer bL;
++ public final BossBattleServer bL; // PAIL private -> public, rename bossBattleServer
+ private static final Predicate<Entity> bM = (entity) -> {
+ return entity instanceof EntityLiving && ((EntityLiving) entity).getMonsterType() != EnumMonsterType.UNDEAD && ((EntityLiving) entity).df();
+ };
@@ -181,13 +187,38 @@
if (this.dz() > 0) {
i = this.dz() - 1;