refactor: regenerated HashCode for lobbyConnection

This commit is contained in:
Yannik Bretschneider 2021-06-06 21:35:11 +02:00
parent f61069bb79
commit 5f89e4e90a

View File

@ -514,7 +514,10 @@ public class LobbyConnection implements Runnable {
@Override
public int hashCode() {
return Objects.hash(lobby, gameID, player1, player2, characterSelectionActive, inGame, spectators, incomingMessages);
int result = Objects.hash(gameID, player1, player2, characterSelectionActive, inGame, active, spectators, incomingMessages, sendMessageCallback, sendErrorCallback, selectionPossibilities);
result = 31 * result + Arrays.hashCode(playerOneSelection);
result = 31 * result + Arrays.hashCode(playerTwoSelection);
return result;
}
@Override