fix a few bugs
This commit is contained in:
parent
3beaf52ba6
commit
ed8712bb88
1 changed files with 2 additions and 2 deletions
|
|
@ -16,11 +16,11 @@
|
|||
if (e.message.toLowerCase() === ".afk") {
|
||||
if (active === null) {
|
||||
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 {
|
||||
clearTimeout(active);
|
||||
active = null;
|
||||
ModAPI.displayToChat("Activated anti-afk mod");
|
||||
ModAPI.displayToChat("Deactivated anti-afk mod.");
|
||||
}
|
||||
e.preventDefault = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue