diff options
Diffstat (limited to 'nms-patches/EntityWither.patch')
-rw-r--r-- | nms-patches/EntityWither.patch | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/nms-patches/EntityWither.patch b/nms-patches/EntityWither.patch index 920308ca..d6da6879 100644 --- a/nms-patches/EntityWither.patch +++ b/nms-patches/EntityWither.patch @@ -13,15 +13,6 @@ 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; @@ -84,4 +75,4 @@ + this.heal(1.0F, EntityRegainHealthEvent.RegainReason.REGEN); // CraftBukkit } - this.bL.setProgress(this.getHealth() / this.getMaxHealth()); + this.bossBattle.setProgress(this.getHealth() / this.getMaxHealth()); |