Skip to content

Commit

Permalink
fix: function access privilege changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Scoppio committed Feb 6, 2025
1 parent 3695c4d commit 2220f96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion megamek/src/megamek/client/bot/princess/PathRanker.java
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ private boolean willBuildingCollapse(MovePath path, Game game) {
return false;
}

protected @Nullable Coords calculateAlliesCenter(int myId, @Nullable List<Entity> friends, Game game) {
public @Nullable Coords calculateAlliesCenter(int myId, @Nullable List<Entity> friends, Game game) {
return calcAllyCenter(myId, friends, game);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public UtilityPathRanker(Princess owningPrincess) {


@Override
protected @Nullable Coords calculateAlliesCenter(int myId, @Nullable List<Entity> friends, Game game) {
public @Nullable Coords calculateAlliesCenter(int myId, @Nullable List<Entity> friends, Game game) {
return getOwner().getSwarmContext().getCurrentCenter();
}
/**
Expand Down

0 comments on commit 2220f96

Please sign in to comment.