fix bleeding bug

This commit is contained in:
Jill 2023-11-29 12:45:23 +03:00
parent b1bc9592ad
commit ee9736bcc2
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ async function healthCron(bot: Client) {
const debtedUsers = await db<ItemInventory>('itemInventories')
.select('user', 'quantity')
.where('item', BLOOD_ID)
.where('quantity', '<', '0');
for (const debted of debtedUsers) {