mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
if token is a card clone,still translate it(e.g momir basic token).
This commit is contained in:
@@ -280,7 +280,11 @@ public class CardDetailUtil {
|
||||
area.append("\n");
|
||||
}
|
||||
|
||||
boolean needTranslation = !card.isToken();
|
||||
boolean needTranslation = true;
|
||||
if (card.isToken()) {
|
||||
if (card.getCloneOrigin() == null)
|
||||
needTranslation = false;
|
||||
}
|
||||
String text = card.getText(state, needTranslation ? CardTranslation.getTranslationTexts(state.getName(), "") : null);
|
||||
|
||||
// LEVEL [0-9]+-[0-9]+
|
||||
|
||||
Reference in New Issue
Block a user