Fixed rules generation

This commit is contained in:
Oleg Agafonov 2019-12-11 04:40:07 +04:00
parent dd68a1ba84
commit 6b5a9846b9

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);
}