mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
@@ -223,7 +223,7 @@ public abstract class Trigger extends TriggerReplacementBase {
|
|||||||
}
|
}
|
||||||
result = TextUtil.fastReplace(result, "ABILITY", saDesc);
|
result = TextUtil.fastReplace(result, "ABILITY", saDesc);
|
||||||
|
|
||||||
String currentName = sa.getHostCard().getName();
|
String currentName = sa == null ? "" : sa.getHostCard().getName();
|
||||||
result = CardTranslation.translateMultipleDescriptionText(result, currentName);
|
result = CardTranslation.translateMultipleDescriptionText(result, currentName);
|
||||||
result = TextUtil.fastReplace(result,"CARDNAME", CardTranslation.getTranslatedName(currentName));
|
result = TextUtil.fastReplace(result,"CARDNAME", CardTranslation.getTranslatedName(currentName));
|
||||||
result = TextUtil.fastReplace(result,"NICKNAME", Lang.getInstance().getNickName(CardTranslation.getTranslatedName(currentName)));
|
result = TextUtil.fastReplace(result,"NICKNAME", Lang.getInstance().getNickName(CardTranslation.getTranslatedName(currentName)));
|
||||||
|
|||||||
Reference in New Issue
Block a user