From 8e1d82dce63a4277d4f7a672b5b783903ee3e9f2 Mon Sep 17 00:00:00 2001 From: North Date: Mon, 9 May 2011 22:12:13 +0300 Subject: [PATCH] fixed Issue 72 --- Mage/src/mage/cards/ExpansionSet.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/cards/ExpansionSet.java b/Mage/src/mage/cards/ExpansionSet.java index f8c9a15137..e09d7ba26a 100644 --- a/Mage/src/mage/cards/ExpansionSet.java +++ b/Mage/src/mage/cards/ExpansionSet.java @@ -208,8 +208,10 @@ public abstract class ExpansionSet implements Serializable { } } List newCards = new ArrayList(); - for (Class clazz: classes) { - newCards.add(createCard(clazz)); + for (Class clazz : classes) { + if (clazz.getPackage().getName().equals(packageName)) { + newCards.add(createCard(clazz)); + } } return newCards; }