Merge branch 'staticfix' into 'master'

Amorphous Axe: fix AllCreatureTypes not being removed when unattached

See merge request core-developers/forge!6146
This commit is contained in:
Hans Mackowiak
2022-02-03 20:11:57 +00:00

View File

@@ -242,7 +242,7 @@ public class StaticEffect {
}
// remove Types
if (hasParam("AddType") || hasParam("RemoveType")) {
if (hasParam("AddType") || hasParam("AddAllCreatureTypes") || hasParam("RemoveType")) {
// the view is updated in GameAction#checkStaticAbilities to avoid flickering
affectedCard.removeChangedCardTypes(getTimestamp(), ability.getId(), false);
}