rename classes (#10383)

This commit is contained in:
Evan Kranzler 2023-05-17 18:49:30 -04:00 committed by GitHub
parent d199640fb5
commit 60e488cf05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
123 changed files with 356 additions and 378 deletions

View file

@ -193,8 +193,8 @@ public class Spell extends StackObjectImpl implements Card {
+ " as Adventure spell of " + GameLog.getColoredObjectIdName(adventureCard);
}
if (card instanceof ModalDoubleFacesCardHalf) {
ModalDoubleFacesCard mdfCard = (ModalDoubleFacesCard) card.getMainCard();
if (card instanceof ModalDoubleFacedCardHalf) {
ModalDoubleFacedCard mdfCard = (ModalDoubleFacedCard) card.getMainCard();
return GameLog.replaceNameByColoredName(card, getSpellAbility().toString(), mdfCard)
+ " as mdf side of " + GameLog.getColoredObjectIdName(mdfCard);
}