mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 08:39:07 +00:00
force logout on timeout
This commit is contained in:
@@ -1111,7 +1111,8 @@ public class Client extends Player {
|
||||
}
|
||||
|
||||
if (timeOutCounter > Constants.TIMEOUT) {
|
||||
disconnected = true;
|
||||
if (!isBot)
|
||||
logout(true);
|
||||
}
|
||||
|
||||
timeOutCounter++;
|
||||
|
||||
Reference in New Issue
Block a user