Skip to content

Commit 5d8134a

Browse files
authored
fix runeify?
Signed-off-by: gemsvidø <[email protected]>
1 parent afc6df9 commit 5d8134a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cheatGUI/src/utils/hackify.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ export const itemify = (item: Item[], amount: number) =>
2727

2828
// Convert rune to Rune ID map
2929
// @ts-expect-error
30-
export const runeify = ((item, amount) => {
30+
export const runeify = (item, amount) =>
3131
// @ts-expect-error
3232
item.map(x => ({
3333
ID: x.ID,
3434
quantity: amount
3535
// @ts-expect-error
36-
})).filter(v => v !== undefined)
36+
}).filter(v => v !== undefined)
3737
});
3838

3939

@@ -107,4 +107,4 @@ export const getPet = async (text: string): Promise<number | undefined> => {
107107
text: text
108108
});
109109
return pet.value;
110-
};
110+
};

0 commit comments

Comments
 (0)