a few card rewrites

This commit is contained in:
theelk801 2024-09-13 17:15:56 -04:00
parent 63ab41d8da
commit 7c0d7105ee
5 changed files with 100 additions and 162 deletions

View file

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