From d458e32a0cd4443177aa8abaa4595a0459c4910b Mon Sep 17 00:00:00 2001 From: William Blake Galbreath Date: Thu, 20 Aug 2020 21:34:34 -0500 Subject: [PATCH] Fix MC-99259 - Show wither health bar even during invulnerable stage --- ...w-wither-health-bar-even-during-invu.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 patches/server/0133-Fix-MC-99259-Show-wither-health-bar-even-during-invu.patch diff --git a/patches/server/0133-Fix-MC-99259-Show-wither-health-bar-even-during-invu.patch b/patches/server/0133-Fix-MC-99259-Show-wither-health-bar-even-during-invu.patch new file mode 100644 index 000000000..cfd1a8d14 --- /dev/null +++ b/patches/server/0133-Fix-MC-99259-Show-wither-health-bar-even-during-invu.patch @@ -0,0 +1,22 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: William Blake Galbreath +Date: Thu, 20 Aug 2020 21:32:44 -0500 +Subject: [PATCH] Fix MC-99259 - Show wither health bar even during + invulnerable stage + + +diff --git a/src/main/java/net/minecraft/server/EntityWither.java b/src/main/java/net/minecraft/server/EntityWither.java +index 81b3b9fbc5..48ae065700 100644 +--- a/src/main/java/net/minecraft/server/EntityWither.java ++++ b/src/main/java/net/minecraft/server/EntityWither.java +@@ -355,8 +355,9 @@ public class EntityWither extends EntityMonster implements IRangedEntity { + } + // Purpur end + +- this.bossBattle.setProgress(this.getHealth() / this.getMaxHealth()); ++ // this.bossBattle.setProgress(this.getHealth() / this.getMaxHealth()); // moved down + } ++ this.bossBattle.setProgress(this.getHealth() / this.getMaxHealth()); // Purpur - moved from above + } + + public static boolean c(IBlockData iblockdata) {