mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
fix a few bugs
This commit is contained in:
parent
3beaf52ba6
commit
ed8712bb88
@ -16,11 +16,11 @@
|
|||||||
if (e.message.toLowerCase() === ".afk") {
|
if (e.message.toLowerCase() === ".afk") {
|
||||||
if (active === null) {
|
if (active === null) {
|
||||||
queueJump();
|
queueJump();
|
||||||
ModAPI.displayToChat("Deactivated anti-afk mod");
|
ModAPI.displayToChat("Activated anti-afk mod!\nI recommend using the sliders mod to decrease your max fps to save battery.");
|
||||||
} else {
|
} else {
|
||||||
clearTimeout(active);
|
clearTimeout(active);
|
||||||
active = null;
|
active = null;
|
||||||
ModAPI.displayToChat("Activated anti-afk mod");
|
ModAPI.displayToChat("Deactivated anti-afk mod.");
|
||||||
}
|
}
|
||||||
e.preventDefault = true;
|
e.preventDefault = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user