forked from External/mage
Improved message transformation.
This commit is contained in:
parent
8e3ebed11f
commit
095c3c5776
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ public class HelperPanel extends JPanel {
|
|||
public void setMessage(String message) {
|
||||
if (message.startsWith("Use alternative cost")) {
|
||||
textArea.setText("Use alternative cost?");
|
||||
} else if (message.length() > 30 && message.contains("Use")) {
|
||||
} else if (message.length() > 40 && message.contains("Use ")) {
|
||||
textArea.setText("Use ability?");
|
||||
} else {
|
||||
textArea.setText(message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue