mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-30 22:44:24 +01:00
Fix enter command; also resolves #761
This commit is contained in:
parent
88679e6a51
commit
f56687f322
@ -69,7 +69,7 @@ public class EnterCommand extends DCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
if (joining.getGame() != null) {
|
||||
if (joining != null && joining.getGame() != null) {
|
||||
MessageUtil.sendMessage(sender, DMessage.ERROR_LEAVE_GAME.getMessage());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user