RenderGuiOverlayEvent.Post fires once per HUD component (health, armor, hotbar, scoreboard, boss bar, player list, ...). This means that the menu was rendered more than 25 times when once would be sufficient.
Arbitrarily choose the player list component as an anchor.
This becomes an issue when this mod is combined in combination with my mod Auto HUD, as this mod moves some of these components in different directions. That leads to the menu being duplicated on screen, offset off each other.
RenderGuiOverlayEvent.Post fires once per HUD component (health, armor, hotbar, scoreboard, boss bar, player list, ...). This means that the menu was rendered more than 25 times when once would be sufficient.
Arbitrarily choose the player list component as an anchor.
This becomes an issue when this mod is combined in combination with my mod Auto HUD, as this mod moves some of these components in different directions. That leads to the menu being duplicated on screen, offset off each other.
Closes Crendgrim/AutoHUD#74