remove casting of source

master
melvin 2012-10-27 09:37:08 +08:00
parent 3d8bba8cc5
commit 2eed8ef94f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class Rakish_Heir {
damage.getTarget().isPlayer() &&
dmgSource.getController() == player &&
dmgSource.isPermanent() &&
((MagicPermanent)dmgSource).hasSubType(MagicSubType.Vampire)) ?
dmgSource.hasSubType(MagicSubType.Vampire)) ?
new MagicEvent(
permanent,
player,