mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Fixed a possible UnmodifiableCollection.remove call.
This commit is contained in:
@@ -165,7 +165,7 @@ public class DiscardEffect extends RevealEffectBase {
|
|||||||
} else if (mode.equals("RevealYouChoose") || mode.equals("RevealOppChoose") || mode.equals("TgtChoose")) {
|
} else if (mode.equals("RevealYouChoose") || mode.equals("RevealOppChoose") || mode.equals("TgtChoose")) {
|
||||||
// Is Reveal you choose right? I think the wrong player is
|
// Is Reveal you choose right? I think the wrong player is
|
||||||
// being used?
|
// being used?
|
||||||
List<Card> dPHand = p.getCardsIn(ZoneType.Hand);
|
List<Card> dPHand = new ArrayList<Card>(p.getCardsIn(ZoneType.Hand));
|
||||||
if (dPHand.isEmpty())
|
if (dPHand.isEmpty())
|
||||||
continue; // for loop over players
|
continue; // for loop over players
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user