diff --git a/app/Services/ShopManager.php b/app/Services/ShopManager.php index 794342dd00..15b23814d7 100644 --- a/app/Services/ShopManager.php +++ b/app/Services/ShopManager.php @@ -33,7 +33,7 @@ public function buyStock($data, $user) DB::beginTransaction(); try { - $quantity = $data['quantity']; + $quantity = ceil($data['quantity']); if(!$quantity || $quantity == 0) throw new \Exception("Invalid quantity selected."); // Check that the shop exists and is open diff --git a/config/lorekeeper/settings.php b/config/lorekeeper/settings.php index ef3d138b2b..c50c51c149 100644 --- a/config/lorekeeper/settings.php +++ b/config/lorekeeper/settings.php @@ -24,7 +24,7 @@ | Do not change this value! | */ - 'version' => '2.1.3', + 'version' => '2.1.4', /* |--------------------------------------------------------------------------