Skip to content

Commit

Permalink
source clean goldfish
Browse files Browse the repository at this point in the history
  • Loading branch information
nicol authored and nicol committed Sep 19, 2023
1 parent 420aaa0 commit 75b3af5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.List;
import java.util.Map;

import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang3.RegExUtils;
import org.apache.commons.lang3.StringUtils;
import org.jsoup.nodes.Document;
Expand Down Expand Up @@ -328,8 +329,10 @@ else if(mc.isJapanese())
if(mc.getFlavorName()!=null)
extend="-"+mc.getFlavorName().replace(" ", "+");




if(mc.getCurrentSet().getId().equals("PUMA")||mc.getCurrentSet().getId().equals("STA")||mc.getCurrentSet().getId().equals("SLD")||mc.getCurrentSet().getId().equals("MUL"))
if(ArrayUtils.contains(new String[] {"PUMA","STA","SLD","MUL","WOT"}, mc.getCurrentSet().getId()))
extend="";

url = WEBSITE + "/price/" + convert(mc.getCurrentSet()) + extra+pfoil+"/" + cardName +extend+ "#" + getString(FORMAT);
Expand Down

0 comments on commit 75b3af5

Please sign in to comment.