- Fixed a possible ConcurrentModificationException.

This commit is contained in:
Sloth
2013-04-18 20:41:14 +00:00
parent ff542ff30b
commit 177b20f1f5

View File

@@ -788,7 +788,7 @@ public class CardFactoryUtil {
*/ */
public static List<Card> getActivateablesFromZone(final PlayerZone zone, final Player activator) { public static List<Card> getActivateablesFromZone(final PlayerZone zone, final Player activator) {
Iterable<Card> cl = zone.getCards(); Iterable<Card> cl = Lists.newArrayList(zone.getCards());
// Only check the top card of the library // Only check the top card of the library
if (zone.is(ZoneType.Library)) { if (zone.is(ZoneType.Library)) {