Skip to content

Commit

Permalink
Remove unnecessary 'sendMessage' - sending a simple String value does…
Browse files Browse the repository at this point in the history
… nothing.
  • Loading branch information
DanVanAtta committed Jul 24, 2024
1 parent c3677ca commit 128cb3e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,6 @@ public synchronized Map<String, Collection<String>> getPlayerNamesAndAlliancesIn
public void connectionAdded(final INode to) {
notifyLobby(
(lobbyConnection, gameId) -> lobbyConnection.playerJoined(gameId, to.getPlayerName()));
if (serverMessenger.isModerator(to)) {
chatModel.getChat().sendMessage("Moderator has joined: " + to.getPlayerName());
}
}

/**
Expand Down

0 comments on commit 128cb3e

Please sign in to comment.