demoffing pt 3

This commit is contained in:
ceikry
2021-07-22 23:37:07 -05:00
parent 14dca75db2
commit a4ff0bb9e6
@@ -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()
}