mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
a few card rewrites
This commit is contained in:
parent
63ab41d8da
commit
7c0d7105ee
5 changed files with 100 additions and 162 deletions
|
|
@ -776,6 +776,10 @@ public final class CardUtil {
|
|||
return object1 != null && object2 != null && haveSameNames(object1.getName(), object2.getName(), false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Replaced by hasName method, kept to reduce refactoring of old cards
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean haveSameNames(MageObject object, String needName, Game game) {
|
||||
return object.hasName(needName, game);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue