Merge branch 'master' of https://github.com/magefree/mage into adventures

This commit is contained in:
Patrick Hulin 2019-12-11 22:15:38 -05:00
commit 383069f5eb
16 changed files with 223 additions and 41 deletions

View file

@ -230,7 +230,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
@Override
public List<String> getRules() {
try {
return abilities.getRules(this.getName());
return getAbilities().getRules(this.getName());
} catch (Exception e) {
logger.info("Exception in rules generation for card: " + this.getName(), e);
}