Fix filter used in Gourmand's Talent.

This commit is contained in:
Grath 2024-09-06 19:00:14 -04:00
parent 798b937f76
commit 9ded96c815

View file

@ -88,7 +88,7 @@ class GourmandsTalentEffect extends ContinuousEffectImpl {
@Override
public boolean apply(Layer layer, SubLayer sublayer, Ability source, Game game) {
for (Permanent permanent : game.getBattlefield().getActivePermanents(StaticFilters.FILTER_PERMANENT_ARTIFACT, source.getControllerId(), source, game)) {
for (Permanent permanent : game.getBattlefield().getActivePermanents(StaticFilters.FILTER_CONTROLLED_PERMANENT_ARTIFACT, source.getControllerId(), source, game)) {
if (permanent.getId().equals(source.getSourceId())) {
continue;
}