[FIN] fix Gilgamesh, Master-at-Arms allowing any permanent to be attached (fixes #13823)

This commit is contained in:
theelk801 2025-07-07 10:27:33 -04:00
parent 2e9660fec8
commit 42e5c09f35

View file

@ -163,7 +163,7 @@ class GilgameshMasterAtArmsAttachEffect extends OneShotEffect {
break;
}
FilterPermanent filterPermanent = new FilterPermanent("Equipment");
filter.add(new PermanentReferenceInCollectionPredicate(permanents, game));
filterPermanent.add(new PermanentReferenceInCollectionPredicate(permanents, game));
return Optional
.of(new TargetPermanent(0, 1, filterPermanent, true))
.map(t -> {