forked from External/mage
Make draft logs compatible with MTGO format #5450 - https://github.com/magefree/mage/issues/5450
This commit is contained in:
parent
c7bc799f86
commit
7e621ee8af
7 changed files with 134 additions and 70 deletions
|
|
@ -353,8 +353,9 @@ public class CallbackClientImpl implements CallbackClient {
|
|||
}
|
||||
case DRAFT_UPDATE: {
|
||||
DraftPanel panel = MageFrame.getDraft(callback.getObjectId());
|
||||
DraftClientMessage message = (DraftClientMessage) callback.getData();
|
||||
if (panel != null) {
|
||||
panel.updateDraft((DraftView) callback.getData());
|
||||
panel.updateDraft(message.getDraftView());
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue