Skip to content

Commit

Permalink
fix colonyview
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Nov 4, 2024
1 parent 9441ff8 commit 9220b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/minecolonies/core/colony/ColonyView.java
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ public boolean isDay()
@Override
public PlayerTeam getTeam()
{
return world.getScoreboard().getPlayerTeam(getTeamName());
return world.getScoreboard().getPlayerTeam(IColony.getTeamName(world, id));
}

@Override
Expand Down

0 comments on commit 9220b2d

Please sign in to comment.