Fix food bar not rendering when non-living entities are mounted (#7446)
This commit is contained in:
parent
56e538e8a9
commit
114acfca3b
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ public class ForgeIngameGui extends IngameGui
|
|||
this.scaledHeight = this.mc.getMainWindow().getScaledHeight();
|
||||
eventParent = new RenderGameOverlayEvent(mStack, partialTicks, this.mc.getMainWindow());
|
||||
renderHealthMount = mc.player.getRidingEntity() instanceof LivingEntity;
|
||||
renderFood = mc.player.getRidingEntity() == null;
|
||||
renderFood = !renderHealthMount;
|
||||
renderJumpBar = mc.player.isRidingHorse();
|
||||
|
||||
right_height = 39;
|
||||
|
|
Loading…
Reference in a new issue