mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-12-22 07:28:57 -05:00
We're doing it exact RSC replica right?
This commit is contained in:
parent
933c6227ef
commit
ff8a54bcb1
@ -388,11 +388,11 @@ public final class ClientUpdater implements Processor {
|
|||||||
if (curTime - p.getLastPing() >= 30000) {
|
if (curTime - p.getLastPing() >= 30000) {
|
||||||
p.destroy(false);
|
p.destroy(false);
|
||||||
} else if (p.warnedToMove()) {
|
} else if (p.warnedToMove()) {
|
||||||
if (curTime - p.getLastMoved() >= 960000 && p.loggedIn()) {
|
if (curTime - p.getLastMoved() >= 360000 && p.loggedIn()) {
|
||||||
p.destroy(false);
|
p.destroy(false);
|
||||||
}
|
}
|
||||||
} else if (curTime - p.getLastMoved() >= 900000) {
|
} else if (curTime - p.getLastMoved() >= 300000) {
|
||||||
p.getActionSender().sendMessage("@cya@You have not moved for 15 mins, please move to a new area to avoid logout.");
|
p.getActionSender().sendMessage("@cya@You have not moved for 5 mins, please move to a new area to avoid logout.");
|
||||||
p.warnToMove();
|
p.warnToMove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user