mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[AFR] Fix Classes leveling up even if phased out. Closes #8549.
This commit is contained in:
parent
89b74d7ab0
commit
75c8876746
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class SetClassLevelEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = source.getSourcePermanentIfItStillExists(game);
|
||||
if (permanent == null) {
|
||||
if (permanent == null || !permanent.isPhasedIn()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue