Merge branch 'attach' into 'master'

Fix Attachments not being removed from protection

See merge request core-developers/forge!6138
This commit is contained in:
Hans Mackowiak
2022-02-03 08:13:10 +00:00

View File

@@ -44,7 +44,7 @@ public class StaticAbilityCantAttach {
}
}
if (checkSBA && stAb.matchesValidParam("Exceptions", card)) {
if (checkSBA && stAb.hasParam("Exceptions") && stAb.matchesValidParam("Exceptions", card)) {
return false;
}