mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +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("</b> - Undo F4/F5/F7/F9/F11")
|
||||||
.append("<br/><b>")
|
.append("<br/><b>")
|
||||||
.append(KeyEvent.getKeyText(PreferencesDialog.getCachedValue(PreferencesDialog.KEY_CONTROL_TOGGLE_MACRO, 119)))
|
.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(),
|
.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);
|
null, MessageType.USER_INFO, ChatMessage.MessageColor.BLUE);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -50,14 +50,17 @@ public class PlayerResponse implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
String res = new String();
|
return new StringBuilder(responseString)
|
||||||
res += responseString + ",";
|
.append(',')
|
||||||
res += responseUUID + ",";
|
.append(responseUUID)
|
||||||
res += responseBoolean + ",";
|
.append(',')
|
||||||
res += responseInteger + ",";
|
.append(responseBoolean)
|
||||||
res += responseManaType + ",";
|
.append(',')
|
||||||
res += responseManaTypePlayerId;
|
.append(responseInteger)
|
||||||
return res;
|
.append(',')
|
||||||
|
.append(responseManaType)
|
||||||
|
.append(',')
|
||||||
|
.append(responseManaTypePlayerId).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public PlayerResponse(PlayerResponse other) {
|
public PlayerResponse(PlayerResponse other) {
|
||||||
|
|
Loading…
Reference in a new issue