mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 04:22:01 -08:00
Draft stability improvements (#9435)
This commit is contained in:
parent
c8c663b976
commit
b9530e307d
13 changed files with 116 additions and 4 deletions
|
|
@ -273,6 +273,10 @@ public final class SessionHandler {
|
|||
public static void sendCardMark(UUID draftId, UUID id) {
|
||||
session.sendCardMark(draftId, id);
|
||||
}
|
||||
|
||||
public static void setBoosterLoaded(UUID draftId) {
|
||||
session.setBoosterLoaded(draftId);
|
||||
}
|
||||
|
||||
public static Optional<UUID> getRoomChatId(UUID roomId) {
|
||||
return session.getRoomChatId(roomId);
|
||||
|
|
|
|||
|
|
@ -303,6 +303,8 @@
|
|||
if (timeout != 0) {
|
||||
countdown.start();
|
||||
}
|
||||
|
||||
SessionHandler.setBoosterLoaded(draftId); // confirm to the server that the booster has been loaded
|
||||
}
|
||||
|
||||
private void loadCardsToPickedCardsArea(SimpleCardsView pickedCards) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue