forked from 2009Scape/Server
demoffing pt 2
This commit is contained in:
parent
5da5650b5f
commit
14dca75db2
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ class DisconnectionQueue {
|
|||
return false
|
||||
}
|
||||
if (entry.isClear) {
|
||||
SystemLogger.logInfo("Clearing player...")
|
||||
player.clear()
|
||||
}
|
||||
Repository.playerNames.remove(player.name)
|
||||
|
|
@ -63,6 +64,7 @@ class DisconnectionQueue {
|
|||
try {
|
||||
player.communication.clan.leave(player, false)
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
if (player.isArtificial) {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue