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