mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-17 19:05:08 +00:00
Fix health bar to work with Forge left_height (#115)
Previous the value was hard-coded, causing problems with mods which render bars before the health bar (closes #114)
This commit is contained in:
1 parent
69a1c80546
commit
2a0b45038b
1 file changed
+1
-1
@@ -61,7 +61,7 @@ public class ExtraHeartRenderHandler {
|
||||
EntityPlayer player = (EntityPlayer)this.mc.getRenderViewEntity();
|
||||
|
||||
// extra setup stuff from us
|
||||
left_height = 39;
|
||||
left_height = GuiIngameForge.left_height;
|
||||
ScaledResolution resolution = event.getResolution();
|
||||
width = resolution.getScaledWidth();
|
||||
height = resolution.getScaledHeight();
|
||||
|
||||
Reference in new issue
Block a user