mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Remove WIP
This commit is contained in:
@@ -41,9 +41,6 @@ import java.util.regex.Pattern;
|
|||||||
public class CardPool extends ItemPool<PaperCard> {
|
public class CardPool extends ItemPool<PaperCard> {
|
||||||
private static final long serialVersionUID = -5379091255613968393L;
|
private static final long serialVersionUID = -5379091255613968393L;
|
||||||
|
|
||||||
// Sets merged into PLST
|
|
||||||
private ImmutableList<String> plstMergedSets = ImmutableList.of("PAGL", "PHED", "PCTB", "MB1", "FMB1");
|
|
||||||
|
|
||||||
public CardPool() {
|
public CardPool() {
|
||||||
super(PaperCard.class);
|
super(PaperCard.class);
|
||||||
}
|
}
|
||||||
@@ -82,12 +79,6 @@ public class CardPool extends ItemPool<PaperCard> {
|
|||||||
for (Map.Entry<String, CardDb> entry: dbs.entrySet()){
|
for (Map.Entry<String, CardDb> entry: dbs.entrySet()){
|
||||||
CardDb db = entry.getValue();
|
CardDb db = entry.getValue();
|
||||||
|
|
||||||
// TODO: Merge sets into PLST
|
|
||||||
/*if (plstMergedSets.contains(setCode.toLowerCase())) {
|
|
||||||
setCode = "PLST";
|
|
||||||
collectorNumber = "";
|
|
||||||
}*/
|
|
||||||
|
|
||||||
PaperCard paperCard = db.getCard(cardName, setCode, collectorNumber, flags);
|
PaperCard paperCard = db.getCard(cardName, setCode, collectorNumber, flags);
|
||||||
if (paperCard != null) {
|
if (paperCard != null) {
|
||||||
this.add(paperCard, amount);
|
this.add(paperCard, amount);
|
||||||
|
|||||||
Reference in New Issue
Block a user