fix health bar not being shifted up by DualHotbar (#98)

This commit is contained in:
charagarlnad authored and GitHub committed 2023-10-10 21:41:11 +02:00
1 parent 8bb6f7b0e2
commit 11179e43e6
1 file changed
+1 -1
@@ -40,7 +40,7 @@ public class HealthBarRenderer extends Gui {
}
/* HUD */
@SubscribeEvent(priority = EventPriority.HIGHEST)
@SubscribeEvent(priority = EventPriority.HIGH) // Not highest for DualHotbar compatibility
public void renderHealthbar(RenderGameOverlayEvent.Pre event) {
if (event.type != RenderGameOverlayEvent.ElementType.HEALTH) {