Fixed that static abilities of phased out objects are not applied.

This commit is contained in:
LevelX2 2015-05-28 00:14:08 +02:00
parent a31794bb7e
commit 16ea49141f
3 changed files with 71 additions and 1 deletions

View file

@ -927,6 +927,9 @@ public abstract class AbilityImpl implements Ability {
}
}
}
if (object instanceof Permanent) {
return ((Permanent) object).isPhasedIn();
}
return true;
}