mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
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:
@@ -242,7 +242,7 @@ public class StaticEffect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// remove Types
|
// remove Types
|
||||||
if (hasParam("AddType") || hasParam("RemoveType")) {
|
if (hasParam("AddType") || hasParam("AddAllCreatureTypes") || hasParam("RemoveType")) {
|
||||||
// the view is updated in GameAction#checkStaticAbilities to avoid flickering
|
// the view is updated in GameAction#checkStaticAbilities to avoid flickering
|
||||||
affectedCard.removeChangedCardTypes(getTimestamp(), ability.getId(), false);
|
affectedCard.removeChangedCardTypes(getTimestamp(), ability.getId(), false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user