change subtype.contains() to hasSubtype()

This commit is contained in:
igoudt 2017-09-25 21:20:24 +02:00
parent a316fe508f
commit b12b0e29b8
94 changed files with 250 additions and 277 deletions

View file

@ -115,7 +115,7 @@ class EternalizeEffect extends OneShotEffect {
EmptyToken token = new EmptyToken();
CardUtil.copyTo(token).from(card); // needed so that entersBattlefied triggered abilities see the attributes (e.g. Master Biomancer)
token.getColor(game).setColor(ObjectColor.BLACK);
if (!token.getSubtype(game).contains(SubType.ZOMBIE)) {
if (!token.hasSubtype(SubType.ZOMBIE, game)) {
token.getSubtype(game).add(0, SubType.ZOMBIE);
}
token.getManaCost().clear();