forked from External/mage
* Added check if the deck was modified during sideboarding.
This commit is contained in:
parent
3c6ede7407
commit
0fd72c3010
12 changed files with 166 additions and 112 deletions
|
|
@ -349,10 +349,11 @@ public class TournamentController {
|
|||
}
|
||||
}
|
||||
|
||||
public void updateDeck(UUID playerId, Deck deck) {
|
||||
public boolean updateDeck(UUID playerId, Deck deck) {
|
||||
if (tournamentSessions.containsKey(playerId)) {
|
||||
tournamentSessions.get(playerId).updateDeck(deck);
|
||||
return tournamentSessions.get(playerId).updateDeck(deck);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void timeout(UUID userId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue