mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
when card is token,do not display translation text .
This commit is contained in:
@@ -280,7 +280,8 @@ public class CardDetailUtil {
|
||||
area.append("\n");
|
||||
}
|
||||
|
||||
String text = card.getText(state, CardTranslation.getTranslationTexts(state.getName(), ""));
|
||||
boolean needTranslation = !card.isToken();
|
||||
String text = card.getText(state, needTranslation ? CardTranslation.getTranslationTexts(state.getName(), "") : null);
|
||||
|
||||
// LEVEL [0-9]+-[0-9]+
|
||||
// LEVEL [0-9]+\+
|
||||
|
||||
Reference in New Issue
Block a user