From 692650cce0ebceb6ed45e3e6887dcc7b50855abb Mon Sep 17 00:00:00 2001 From: Christopher Thai Date: Tue, 21 May 2024 01:08:34 -0700 Subject: [PATCH] Fixed gems not using correct durability --- src/commands/commandList/zoo/catch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/commandList/zoo/catch.js b/src/commands/commandList/zoo/catch.js index 5c3c7960..87cd196b 100644 --- a/src/commands/commandList/zoo/catch.js +++ b/src/commands/commandList/zoo/catch.js @@ -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 });