mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Game log - Fixed a possible NPE of log of triggered abilities.
This commit is contained in:
parent
7f96cd685e
commit
dabcc50fb6
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public abstract class TriggeredAbilityImpl<T extends TriggeredAbilityImpl<T>> ex
|
|||
//20091005 - 603.4
|
||||
if (checkInterveningIfClause(game)) {
|
||||
// log resolve of triggered ability
|
||||
if (object != null) {
|
||||
if (object != null && object.getName() != null) {
|
||||
game.informPlayers(new StringBuilder(object.getName()).append(" triggered ability resolves: ").append(this.getRule()).toString());
|
||||
} else {
|
||||
game.informPlayers(new StringBuilder("Ability triggered: ").append(this.getRule()).toString());
|
||||
|
|
Loading…
Reference in a new issue