mirror of
https://github.com/correl/mage.git
synced 2024-11-28 11:09:54 +00:00
Small cleanup
This commit is contained in:
parent
b68091683a
commit
fee630a0ac
2 changed files with 12 additions and 9 deletions
|
@ -422,7 +422,7 @@ public class CallbackClientImpl implements CallbackClient {
|
|||
.append("</b> - Undo F4/F5/F7/F9/F11")
|
||||
.append("<br/><b>")
|
||||
.append(KeyEvent.getKeyText(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_CONTROL_TOGGLE_MACRO, 119)))
|
||||
.append("</b> - Toggle recording a sequence of actions to repeat")
|
||||
.append("</b> - Toggle recording a sequence of actions to repeat. Will not pause if interrupted and can fail if a selected card changes such as when scrying top card to bottom.")
|
||||
.append("<br/><b>").append(System.getProperty("os.name").contains("Mac OS X") ? "Cmd" : "Ctrl").append(" + click</b> - Hold priority while casting a spell or activating an ability").toString(),
|
||||
null, MessageType.USER_INFO, ChatMessage.MessageColor.BLUE);
|
||||
break;
|
||||
|
|
|
@ -50,14 +50,17 @@ public class PlayerResponse implements Serializable {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
String res = new String();
|
||||
res += responseString + ",";
|
||||
res += responseUUID + ",";
|
||||
res += responseBoolean + ",";
|
||||
res += responseInteger + ",";
|
||||
res += responseManaType + ",";
|
||||
res += responseManaTypePlayerId;
|
||||
return res;
|
||||
return new StringBuilder(responseString)
|
||||
.append(',')
|
||||
.append(responseUUID)
|
||||
.append(',')
|
||||
.append(responseBoolean)
|
||||
.append(',')
|
||||
.append(responseInteger)
|
||||
.append(',')
|
||||
.append(responseManaType)
|
||||
.append(',')
|
||||
.append(responseManaTypePlayerId).toString();
|
||||
}
|
||||
|
||||
public PlayerResponse(PlayerResponse other) {
|
||||
|
|
Loading…
Reference in a new issue