Skip to content

Commit

Permalink
Fixed gems not using correct durability
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBThai committed May 21, 2024
1 parent 9685175 commit 692650c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/commandList/zoo/catch.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ async function getAnimals(p, result, gems, uid) {
);

let sql = animalSql + ' UPDATE cowoncy SET money = money - 5 WHERE id = ' + p.msg.author.id + ';';
sql += getGemSql(uid, gems, ordered.length);
sql += getGemSql(uid, gems, count);

let { animalText, text, gemText } = getText(p, ordered, gems);
typeCount.push({ rank: 'epic', count: 1 });
Expand Down

0 comments on commit 692650c

Please sign in to comment.