Move client transition state and hostAddress to fields

This commit is contained in:
P0nk
2021-06-23 19:03:54 +02:00
parent 9638d5c417
commit 5651bee2b5
2 changed files with 26 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ public class MapleServerHandler extends IoHandlerAdapter {
if (client != null) {
try {
// client freeze issues on session transition states found thanks to yolinlin, Omo Oppa, Nozphex
if (!session.containsAttribute(MapleClient.CLIENT_TRANSITION)) {
if (!client.isInTransition()) {
client.disconnect(false, false);
}
} catch (Throwable t) {