remove all wind counters with Freyalise's Winds replacement effect (#7338) (#7343)

This commit is contained in:
copyosaurus 2021-01-08 22:32:58 +01:00 committed by GitHub
parent 4aa1e726c9
commit 2e44c5a02b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ class FreyalisesWindsReplacementEffect extends ReplacementEffectImpl {
public boolean replaceEvent(GameEvent event, Ability source, Game game) {
Permanent permanentUntapping = game.getPermanent(event.getTargetId());
if (permanentUntapping != null) {
permanentUntapping.removeCounters(CounterType.WIND.createInstance(), source, game);
permanentUntapping.getCounters(game).removeAllCounters(CounterType.WIND);
return true;
}
return false;