diff --git a/app/Models/User.php b/app/Models/User.php index 229f0c0..ee4b3ba 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -51,7 +51,7 @@ public function toDrops($amount = 1) $cache_key = 'user_drops_' . $this->id; - if ($amount === 0) { + if ($amount === 0 || $amount === null) { return $this; }