forked from External/mage
This commit is contained in:
parent
8791f30b4a
commit
a6fcaab698
29 changed files with 54 additions and 94 deletions
|
|
@ -1229,6 +1229,11 @@ public final class CardUtil {
|
|||
return false;
|
||||
}
|
||||
|
||||
public static String getSourceName(Game game, Ability source) {
|
||||
MageObject sourceObject = source.getSourceObject(game);
|
||||
return sourceObject != null ? sourceObject.getName() : "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates source log name to insert into log messages
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue