mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 09:27:43 +01:00
Fix MC-99259 - Show wither health bar even during invulnerable stage
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
||||
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) {
|
||||
Reference in New Issue
Block a user