mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- A more appropriate fix for BoosterGenerator and newer sets (takes into accounts sets like SOI/EMN).
This commit is contained in:
@@ -204,7 +204,11 @@ public class BoosterGenerator {
|
|||||||
|
|
||||||
boolean foilInThisSlot = hasFoil && (slotType.equals(foilSlot));
|
boolean foilInThisSlot = hasFoil && (slotType.equals(foilSlot));
|
||||||
|
|
||||||
if (foilInThisSlot) {
|
if (foilInThisSlot && !foilAtEndOfPack) {
|
||||||
|
numCards--;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (foilAtEndOfPack && hasFoil && slotType.startsWith(BoosterSlots.COMMON)) {
|
||||||
numCards--;
|
numCards--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user