force logout on timeout

This commit is contained in:
RedSparr0w
2019-11-22 16:40:18 +13:00
parent 447fc738d9
commit 6e3f76329a
2 changed files with 3 additions and 2 deletions
@@ -1111,7 +1111,8 @@ public class Client extends Player {
}
if (timeOutCounter > Constants.TIMEOUT) {
disconnected = true;
if (!isBot)
logout(true);
}
timeOutCounter++;