mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
*PlaneswalkedFrom triggers were getting a list of cards planeswalked from that would change by the time they evaluated it. Fixes Orzhova.
This commit is contained in:
@@ -2960,7 +2960,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
{
|
||||
//Run PlaneswalkedFrom triggers here.
|
||||
HashMap<String,Object> runParams = new HashMap<String,Object>();
|
||||
runParams.put("Card", currentPlanes);
|
||||
runParams.put("Card", new ArrayList<Card>(currentPlanes));
|
||||
game.getTriggerHandler().runTrigger(TriggerType.PlaneswalkedFrom, runParams,false);
|
||||
|
||||
for(Card c : currentPlanes) {
|
||||
|
||||
Reference in New Issue
Block a user