mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed a possible ConcurrentModificationException.
This commit is contained in:
@@ -788,7 +788,7 @@ public class CardFactoryUtil {
|
||||
*/
|
||||
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
|
||||
if (zone.is(ZoneType.Library)) {
|
||||
|
||||
Reference in New Issue
Block a user