mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
demoffing pt 2
This commit is contained in:
parent
5cb783c7fd
commit
c82f86eb9c
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