Skip to content

Commit

Permalink
Update Clan.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFiregore authored Jan 7, 2018
1 parent ad48f23 commit eeae9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Objects/Clan.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function getLevelClanChest()
$required=70;
$total_crowns = $this->getTotalClanChestCrowns();

while (($total_crowns-$required)>0) {
while (($total_crowns-$required)>=0) {
$total_crowns -= $required;
$required+=20;
$level++;
Expand Down

0 comments on commit eeae9b0

Please sign in to comment.