Fixed a NPE of PutTokenOntoBattlefieldCopyTargetEffect.

This commit is contained in:
LevelX2 2015-08-26 15:48:47 +02:00
parent 0bc3ed1cbc
commit d3ce238b53

View file

@ -85,7 +85,7 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
this.playerId = effect.playerId; this.playerId = effect.playerId;
this.additionalCardType = effect.additionalCardType; this.additionalCardType = effect.additionalCardType;
this.gainsHaste = effect.gainsHaste; this.gainsHaste = effect.gainsHaste;
this.addedTokenPermanents.addAll(effect.addedTokenPermanents); this.addedTokenPermanents = new ArrayList<>(effect.addedTokenPermanents);
} }
@Override @Override