[AFR] fixed Robe of Stars phasing itself out (fixes #8196)

This commit is contained in:
Evan Kranzler 2021-09-02 19:05:53 -04:00
parent f2ae9f1662
commit a2d3463fb2

View file

@ -72,6 +72,6 @@ class RobeOfStarsEffect extends OneShotEffect {
return false;
}
Permanent equipped = game.getPermanent(permanent.getAttachedTo());
return equipped != null && permanent.phaseOut(game);
return equipped != null && equipped.phaseOut(game);
}
}