This commit is contained in:
Mini-Chiss 2015-08-11 10:56:07 +02:00
parent 184feec875
commit 74b83d6851
1 changed files with 3 additions and 4 deletions

View File

@ -94,9 +94,9 @@ public class SpinGui extends SimpleGui
_stopSpinnerAt = _ticks.size();
//Create Fake Rewards
_rewards = new Reward[_stopSpinnerAt+5];
for (int i = 0; i < _stopSpinnerAt+5 ; i++)
//Create Rewards
_rewards = new Reward[_stopSpinnerAt+10]; //Adding 10, so theres items to the right still.
for (int i = 0; i < _stopSpinnerAt+10 ; i++)
{
if (i != _stopSpinnerAt)
_rewards[i] = rewardManager.nextReward(player, null, false, RewardType.SpinnerFiller, true);
@ -152,7 +152,6 @@ public class SpinGui extends SimpleGui
for (int i = 0; i < 9; i++)
{
int index = _currentRewardIndex + i;
index = index % REWARDS_TO_GENERATE;
int slot = 9 + i;
RewardData data = _rewards[index].getFakeRewardData(getPlayer());