code tweak in CardFactoryUtil

This commit is contained in:
jendave
2011-08-07 01:11:46 +00:00
parent 6bd0cc7820
commit f81eb76ede
2 changed files with 1 additions and 3 deletions

View File

@@ -117,7 +117,6 @@ public class CardFactory implements NewConstants {
private void readCards(File file) {
map.clear();
//ReadCard read = new ReadCard(ForgeProps.getFile(CARDS));
ReadCard read = new ReadCard(ForgeProps.getFile(CARDSFOLDER));
try {
read.run();

View File

@@ -2063,8 +2063,7 @@ public class CardFactoryUtil {
}
public static boolean multipleControlled(Card c) {
PlayerZone play = AllZone.getZone(c);
CardList list = new CardList(play.getCards());
CardList list = AllZoneUtil.getPlayerCardsInPlay(c.getController());
list.remove(c);
return list.containsName(c.getName());