mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Changed PermanentImpl to Permanent
This commit is contained in:
parent
35ba9dc493
commit
31648dbc0e
1 changed files with 1 additions and 2 deletions
|
@ -40,7 +40,6 @@ import mage.game.events.GameEvent;
|
|||
import mage.game.events.ZoneChangeEvent;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.game.permanent.PermanentCard;
|
||||
import mage.game.permanent.PermanentImpl;
|
||||
import mage.game.stack.StackAbility;
|
||||
import mage.players.Player;
|
||||
import mage.target.Target;
|
||||
|
@ -99,7 +98,7 @@ public class AuraReplacementEffect extends ReplacementEffectImpl {
|
|||
// Aura enters the battlefield attached
|
||||
Object object = game.getState().getValue("attachTo:" + card.getId());
|
||||
if (object != null) {
|
||||
if (object instanceof PermanentImpl) {
|
||||
if (object instanceof Permanent) {
|
||||
// Aura is attached to a permanent on the battlefield
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue