Fix AddCountersAllEffect

This commit is contained in:
Susucre 2024-04-05 12:02:56 +02:00
parent e3e6b86e54
commit d2356abe31

View file

@ -60,7 +60,7 @@ public class AddCountersAllEffect extends OneShotEffect {
}
for (Permanent permanent : game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source, game)) {
Counter newCounterForPermanent = counter.copy();
Counter newCounterForPermanent = newCounter.copy();
permanent.addCounters(newCounterForPermanent, source.getControllerId(), source, game);
if (!game.isSimulation() && newCounterForPermanent.getCount() > 0) {