mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fix issue where CopyPermanent was not registering active triggers immediately, preventing ETB triggers from firing.
This commit is contained in:
@@ -172,6 +172,8 @@ public class CopyPermanentEffect extends SpellAbilityEffect {
|
|||||||
copy.addTrigger(parsedTrigger);
|
copy.addTrigger(parsedTrigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Temporarily register triggers of an object created with CopyPermanent
|
||||||
|
game.getTriggerHandler().registerActiveTrigger(copy, false);
|
||||||
final Card copyInPlay = game.getAction().moveToPlay(copy);
|
final Card copyInPlay = game.getAction().moveToPlay(copy);
|
||||||
|
|
||||||
// when copying something stolen:
|
// when copying something stolen:
|
||||||
|
|||||||
Reference in New Issue
Block a user