Skip to content

Commit

Permalink
gamemode packets
Browse files Browse the repository at this point in the history
  • Loading branch information
SoLegendary committed Nov 14, 2024
1 parent f8152ab commit d694e89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ else if (hudSelectedEntity != null && portraitRendererUnit.model != null
// ------------------------------
if (!PlayerClientEvents.isRTSPlayer && !PlayerClientEvents.rtsLocked) {
Button gamemodeButton = ClientGameModeHelper.getButton();
if (gamemodeButton != null && !gamemodeButton.isHidden.get()) {
if (gamemodeButton != null && !gamemodeButton.isHidden.get() && !TutorialClientEvents.isEnabled()) {
gamemodeButton.render(evt.getPoseStack(),
screenWidth - (StartButtons.ICON_SIZE * 8),
StartButtons.ICON_SIZE / 2,
Expand Down

0 comments on commit d694e89

Please sign in to comment.