forked from External/mage
* Mind's Desire - Fixed a problem with playing lands.
This commit is contained in:
parent
fb19f257a7
commit
c6cd713f0d
3 changed files with 22 additions and 20 deletions
|
|
@ -920,10 +920,10 @@ public class SessionImpl implements Session {
|
|||
public boolean leaveChat(UUID chatId) {
|
||||
// lock.readLock().lock();
|
||||
try {
|
||||
if (isConnected()) {
|
||||
if (isConnected() && chatId != null) {
|
||||
server.leaveChat(chatId, sessionId);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
} catch (MageException ex) {
|
||||
handleMageException(ex);
|
||||
} catch (Throwable t) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue