forked from External/mage
ensure that popupContainer gets closed with game ends
This commit is contained in:
parent
9a2b9de6eb
commit
7f93ddbf80
2 changed files with 9 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ public class MageActionCallback implements ActionCallback {
|
|||
public void run() {
|
||||
ThreadUtils.sleep(700);
|
||||
|
||||
if (!popupCard.equals(data.card)) {
|
||||
if (popupCard == null || !popupCard.equals(data.card)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue