fixed!
This commit is contained in:
parent
184feec875
commit
74b83d6851
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user