forked from 2009Scape/Server
demoffing pt 3
This commit is contained in:
parent
14dca75db2
commit
a4ff0bb9e6
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ class DisconnectionQueue {
|
|||
Repository.LOGGED_IN_PLAYERS.remove(player.details.username)
|
||||
SystemLogger.logInfo("Player cleared. Removed ${player.details.username}")
|
||||
try {
|
||||
player.communication.clan.leave(player, false)
|
||||
if(player.communication.clan != null)
|
||||
player.communication.clan.leave(player, false)
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue