Skip to content

Commit

Permalink
[Spectator fix] Fix not updating on proxies (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
NEZNAMY committed Feb 16, 2025
1 parent e16b474 commit a60be9d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public void setGamemode(int gamemode) {
if (this.gamemode == gamemode) return; // Player join with player in survival mode
this.gamemode = gamemode;
((PlayerPlaceholder) TAB.getInstance().getPlaceholderManager().getPlaceholder(TabConstants.Placeholder.GAMEMODE)).update(this);
TAB.getInstance().getFeatureManager().onGameModeChange(this);
}

/**
Expand Down

0 comments on commit a60be9d

Please sign in to comment.