mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Fixed rules generation
This commit is contained in:
parent
dd68a1ba84
commit
6b5a9846b9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue