mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Fix static abilities not removing triggers.
This commit is contained in:
@@ -585,7 +585,7 @@ public final class StaticAbilityContinuous {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// remove triggers
|
// remove triggers
|
||||||
if (layer == StaticAbilityLayer.ABILITIES2 && (params.containsKey("RemoveTriggers") || removeAllAbilities)) {
|
if ((layer == StaticAbilityLayer.ABILITIES2 && (params.containsKey("RemoveTriggers")) || removeAllAbilities)) {
|
||||||
for (final Trigger trigger : affectedCard.getTriggers()) {
|
for (final Trigger trigger : affectedCard.getTriggers()) {
|
||||||
trigger.setTemporarilySuppressed(true);
|
trigger.setTemporarilySuppressed(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user