Fixed set codes and mana symbols in pay and tooltips.

This commit is contained in:
magenoxx 2011-09-02 08:08:35 +04:00
parent 4fad2ede12
commit 818d601cbb
3 changed files with 35 additions and 10 deletions

View file

@ -31,7 +31,6 @@ public class MageTextArea extends JEditorPane {
public void setText(String text, CardView source) {
if (text == null) return;
boolean smallImages = false;
int fontSize = 16;
String fontFamily = "arial";
@ -52,7 +51,7 @@ public class MageTextArea extends JEditorPane {
//buffer.append("<br>");
//text = text.replaceAll("\\{this\\}", card.getName());
//text = text.replaceAll("\\{source\\}", card.getName());
buffer.append(ManaSymbols.replaceSymbolsWithHTML(text, smallImages));
buffer.append(ManaSymbols.replaceSymbolsWithHTML(text, ManaSymbols.Type.PAY));
}
buffer.append("</b></center></body></html>");