update check

This commit is contained in:
Anthony Calosa
2022-04-29 07:55:20 +08:00
parent 38027e2441
commit 05c8cf112a

View File

@@ -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);
}
};