Currently on some Daily Deeds involving VIP Lounge, if you are in a clan without the item, if you visit it using the Daily Deeds button, it is marked complete and you get a message that you've previously used it.
The reason for this is that Swimming Pool and Shower have a check for "<table><tr><td></td></tr></table>", indicating no results. I'm not exactly sure what that check is for in the code, but I've added an extra check when looking for <table><tr><td></td></tr></table> to also check that the appropriate image (swimming pool or shower) also exists so that blank results and item not present doesn't mark success. I've then added a check for the images not existing on the piece that gives the message, to say that the item is not present in the clan.
View attachment ClanLoungeRequest.java.patch
The reason for this is that Swimming Pool and Shower have a check for "<table><tr><td></td></tr></table>", indicating no results. I'm not exactly sure what that check is for in the code, but I've added an extra check when looking for <table><tr><td></td></tr></table> to also check that the appropriate image (swimming pool or shower) also exists so that blank results and item not present doesn't mark success. I've then added a check for the images not existing on the piece that gives the message, to say that the item is not present in the clan.
View attachment ClanLoungeRequest.java.patch