mirror of
https://github.com/nx-bat/pet-the-pond.git
synced 2026-09-22 10:29:11 -04:00
more bug fixes.
This commit is contained in:
@@ -15,6 +15,7 @@ class MessageReactionRemoveEvent extends Event<CommandClient> {
|
||||
if (_user.flags.blacklisted || !_user.settings.participating) return;
|
||||
|
||||
// Update Statistics.
|
||||
if (_user.statistics.pets >= 0) return;
|
||||
await updateUserStatistics(userId, { pets: _user.statistics.pets - 1 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user