@Override protected void copyMaskedData(final IMPL game, final Player<ID> player, final M playerMaskedGame, final Map<ID, Player<ID>> idMap) { super.copyMaskedData(game, player, playerMaskedGame, idMap); playerMaskedGame.setMaskedForPlayerMD5(player.getMd5()); playerMaskedGame.setMaskedForPlayerID(player.getIdAsString()); game.getAllPlayers().forEach(p -> { playerMaskedGame.getPlayers().put(p.getMd5(), p.getDisplayName()); playerMaskedGame.getPlayerImages().put(p.getMd5(), p.getImageUrl()); playerMaskedGame.getPlayerProfiles().put(p.getMd5(), p.getProfileUrl()); playerMaskedGame.getPlayerStates().put(p.getMd5(), game.getPlayerStates().get(p.getId())); }); playerMaskedGame.setInitiatingPlayer(idMap.get(game.getInitiatingPlayer()).getMd5()); }