mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-11-16 22:25:02 -05:00
Merge pull request #5 from Nemmyz/patch-2
We're doing it exact RSC replica right?
This commit is contained in:
commit
9fa8583303
@ -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