doesnt count rank thingy as reward if no rank. yknow

This commit is contained in:
Mini-Chiss 2015-08-11 13:22:58 +02:00
parent 2d7d7f6dde
commit 49d54d4dd3

View File

@ -835,7 +835,7 @@ public class BonusManager extends MiniClientPlugin<BonusClientData> implements I
int availableRewards = 0;
if (canVote(player)) availableRewards++;
if (canRank(player)) availableRewards++;
if (canRank(player) && _clientManager.hasRank(player, Rank.ULTRA)) availableRewards++;
if (canDaily(player)) availableRewards++;
if (getPollManager().getNextPoll(_pollManager.Get(player), _clientManager.Get(player).GetRank()) != null) availableRewards++;