demoffing pt 3

This commit is contained in:
ceikry 2021-07-22 23:37:07 -05:00
parent c82f86eb9c
commit 47177dee02

View file

@ -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()
}