Apparently Arios submits null packets sometimes.
This commit is contained in:
@@ -29,7 +29,7 @@ object PacketWriteQueue {
|
||||
@JvmStatic
|
||||
fun flush(){
|
||||
while(!PacketsToWrite.isEmpty()){
|
||||
val p = PacketsToWrite.poll()
|
||||
val p = PacketsToWrite.poll() ?: continue
|
||||
write(p.out,p.context)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user