mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
update check
This commit is contained in:
@@ -37,11 +37,7 @@ public class FatPack extends BoxedProduct {
|
||||
if (boosters <= 0) { return null; }
|
||||
|
||||
FatPack.Template d = new Template(edition);
|
||||
if (d == null) { return null; }
|
||||
if (edition.getName() == "USER") {
|
||||
if (null == StaticData.instance().getBoosters().get(d.getEdition()))
|
||||
return null;
|
||||
}
|
||||
if (d == null || null == StaticData.instance().getBoosters().get(d.getEdition())) { return null; }
|
||||
return new FatPack(edition.getName(), d, d.cntBoosters);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user