Fixing last day attendance reward.

This commit is contained in:
MobiusDevelopment
2019-04-07 03:42:08 +00:00
parent 6ce714978b
commit d4993f701e
10 changed files with 10 additions and 10 deletions

View File

@ -14197,7 +14197,7 @@ public final class PlayerInstance extends Playable
{
canBeRewarded = true;
// Reset index if max is reached.
if (rewardIndex >= (AttendanceRewardData.getInstance().getRewardsCount() - 1))
if (rewardIndex >= AttendanceRewardData.getInstance().getRewardsCount())
{
rewardIndex = 0;
}