=Fix for GetSauce Command

Fixed issue #2
This commit is contained in:
Alex Stewart
2020-02-25 21:07:51 -05:00
parent 3e48056b15
commit 22f8e0b9df
4 changed files with 13 additions and 11 deletions
+8 -3
View File
@@ -77,15 +77,20 @@ public class NetworkE6
}
else
{
for(int i = 0; i < imageObj.length; ++i)
{
String [] TagsList = imageObj[i].tags.split(" ");
blacklisted = false;
for(int j = 0; j < blacklist.length; j++)
{
if(imageObj[i].tags.contains(blacklist[j]))
for(int k = 0; k < TagsList.length; k ++)
{
System.out.println("BLACKLISTED " + blacklist[j]);
blacklisted = true;
if(TagsList[k].equals(blacklist[j]))
{
System.out.println("BLACKLISTED " + blacklist[j]);
blacklisted = true;
}
}
}