fix bleeding bug
This commit is contained in:
parent
b1bc9592ad
commit
ee9736bcc2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue