mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fixed Jhoira of the Ghitu Avatar crashing.
This commit is contained in:
@@ -99,7 +99,7 @@ public class PlayEffect extends SpellAbilityEffect {
|
|||||||
int ncopied = AbilityUtils.calculateAmount(source, num, sa);
|
int ncopied = AbilityUtils.calculateAmount(source, num, sa);
|
||||||
while(ncopied > 0) {
|
while(ncopied > 0) {
|
||||||
final PaperCard cp = Aggregates.random(copysource);
|
final PaperCard cp = Aggregates.random(copysource);
|
||||||
final Card possibleCard = Card.fromPaperCard(cp, null);
|
final Card possibleCard = Card.fromPaperCard(cp, sa.getActivatingPlayer());
|
||||||
// Need to temporarily set the Owner so the Game is set
|
// Need to temporarily set the Owner so the Game is set
|
||||||
possibleCard.setOwner(sa.getActivatingPlayer());
|
possibleCard.setOwner(sa.getActivatingPlayer());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user