Skip to content

Commit

Permalink
fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Nov 4, 2024
1 parent 4a93822 commit 0541439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ protected PlayerTeam getAssignedTeam()
{
return null;
}
return citizenColonyHandler.getTeam(level);
return citizenColonyHandler.getTeam(level());
}

/**
Expand Down
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 @@ -1258,7 +1258,7 @@ public boolean isDay()
@Override
public PlayerTeam getTeam()
{
return world.getScoreboard().getPlayerTeam(IColony.getTeamName(world, id));
return getWorld().getScoreboard().getPlayerTeam(IColony.getTeamName(getWorld(), id));
}

@Override
Expand Down

0 comments on commit 0541439

Please sign in to comment.