Skip to content

Commit 08703ee

Browse files
committed
chore; fix hopefully
1 parent bd4394c commit 08703ee

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsmacros-scripts",
3-
"version": "0.0.5",
3+
"version": "0.0.11",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

src/skyblock/AntiAFK.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ export class AntiAFK {
9494
if (!inv) return;
9595

9696
// Filter for "Activity Check" GUI
97-
Chat.log(inv.getContainerTitle())
98-
if (!inv.getContainerTitle().includes('Activity Check')) return;
97+
if (!inv.getRawContainer().getTitleText().includes('Activity Check')) return;
9998

10099
// We assume if the GUI opens and we are enabled, we try to start the check.
101100
// In a real scenario, we should probably check the container name or item name.

src/skyblock/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.10",
2+
"version": "1.0.11",
33
"title": "Skyblock",
44
"description": "Macros for hub.mc-complex.com"
55
}

0 commit comments

Comments
 (0)