Skip to content

When the bot automatically marks you as not following, it also adds a message to the thread, in addition to emoji react#3117

Open
derektumolo wants to merge 9 commits intoAsyncTI4:masterfrom
derektumolo:master
Open

When the bot automatically marks you as not following, it also adds a message to the thread, in addition to emoji react#3117
derektumolo wants to merge 9 commits intoAsyncTI4:masterfrom
derektumolo:master

Conversation

@derektumolo
Copy link
Contributor

No description provided.

@derektumolo
Copy link
Contributor Author

expecting plenty of feedback, but i think this works well, and would definitely make things a bit clearer in the thread.

Copy link
Collaborator

@Jazzxhands Jazzxhands left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neither comment is a big deal, really. Looks good

}

private static boolean playerCantFollowNoDocks(Game game, Player player, Player p2, int scToPlay) {
if (scToPlay == 6 && !p2.hasUnit("ghoti_flagship") && !ButtonHelper.getTilesOfPlayersSpecificUnits(game, p2, UnitType.Spacedock).contains(p2.getHomeSystemTile())) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preexisting, but you could add an && !p2.getUnfollowedSCs().contains(4) here, in case the player wants to get a dock from construction and then follow warfare

}

private static String pluralPerson(int num) {
private static String pluralPerson(int num){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure which IDE you're using, but make sure you configure the formatter. If you're using VSCode, it's just making sure the following two lines are in .vscode/settings.json:

    "java.format.settings.url": "eclipse-formatter.xml",
    "editor.formatOnSave": true,

@Fingon00
Copy link
Contributor

Can you also do this for when it marks you as not following due to your pre-set no-follow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants