Removing the magical 3
This commit is contained in:
parent
8abefaf856
commit
3eb7e91fbb
@ -16,7 +16,7 @@
|
|||||||
</set>
|
</set>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -98,7 +98,7 @@ public class SpinGui extends SimpleGui
|
|||||||
_rewards = new Reward[_stopSpinnerAt+10]; //Adding 10, so theres items to the right still.
|
_rewards = new Reward[_stopSpinnerAt+10]; //Adding 10, so theres items to the right still.
|
||||||
for (int i = 0; i < _stopSpinnerAt+10 ; i++)
|
for (int i = 0; i < _stopSpinnerAt+10 ; i++)
|
||||||
{
|
{
|
||||||
if (i != _stopSpinnerAt + 3)
|
if (i != _stopSpinnerAt + 4)
|
||||||
{
|
{
|
||||||
_rewards[i] = rewardManager.nextReward(player, null, false, RewardType.SpinnerFiller, true);
|
_rewards[i] = rewardManager.nextReward(player, null, false, RewardType.SpinnerFiller, true);
|
||||||
}
|
}
|
||||||
@ -126,7 +126,6 @@ public class SpinGui extends SimpleGui
|
|||||||
_ticksThisSwap = 0;
|
_ticksThisSwap = 0;
|
||||||
_swapCount++;
|
_swapCount++;
|
||||||
|
|
||||||
updateGui();
|
|
||||||
if(_pitch == 1)
|
if(_pitch == 1)
|
||||||
_pitch = (float) 1.5;
|
_pitch = (float) 1.5;
|
||||||
else if(_pitch == 1.5)
|
else if(_pitch == 1.5)
|
||||||
@ -138,6 +137,8 @@ public class SpinGui extends SimpleGui
|
|||||||
|
|
||||||
_currentRewardIndex++;
|
_currentRewardIndex++;
|
||||||
|
|
||||||
|
updateGui();
|
||||||
|
|
||||||
// Slow
|
// Slow
|
||||||
_ticksPerSwap = _ticks.get(_currentRewardIndex - 1);
|
_ticksPerSwap = _ticks.get(_currentRewardIndex - 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user