mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Clean up (#2185)
This commit is contained in:
@@ -100,8 +100,8 @@ public class StaticAbilityPanharmonicon {
|
||||
}
|
||||
} else if (trigMode.equals(TriggerType.ChangesZoneAll)) {
|
||||
// Check if the cards have a trigger at all
|
||||
final String origin = stAb.getParamOrDefault("Origin", null);
|
||||
final String destination = stAb.getParamOrDefault("Destination", null);
|
||||
final String origin = stAb.getParam("Origin");
|
||||
final String destination = stAb.getParam("Destination");
|
||||
final CardZoneTable table = (CardZoneTable) runParams.get(AbilityKey.Cards);
|
||||
|
||||
if (table.filterCards(origin == null ? null : ImmutableList.of(ZoneType.smartValueOf(origin)), ZoneType.smartValueOf(destination), stAb.getParam("ValidCause"), card, stAb).isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user