From 3eb7e91fbb9be7c5f2d64785a5895c9aacef4fb1 Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Tue, 11 Aug 2015 04:38:37 -0500 Subject: [PATCH] Removing the magical 3 --- Plugins/.idea/misc.xml | 2 +- .../Mineplex.Core/src/mineplex/core/bonuses/gui/SpinGui.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Plugins/.idea/misc.xml b/Plugins/.idea/misc.xml index 3a9b4c67e..aeea575e6 100644 --- a/Plugins/.idea/misc.xml +++ b/Plugins/.idea/misc.xml @@ -16,7 +16,7 @@ - + \ No newline at end of file diff --git a/Plugins/Mineplex.Core/src/mineplex/core/bonuses/gui/SpinGui.java b/Plugins/Mineplex.Core/src/mineplex/core/bonuses/gui/SpinGui.java index 0dfee278a..18310ab5a 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/bonuses/gui/SpinGui.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/bonuses/gui/SpinGui.java @@ -98,7 +98,7 @@ public class SpinGui extends SimpleGui _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 + 3) + if (i != _stopSpinnerAt + 4) { _rewards[i] = rewardManager.nextReward(player, null, false, RewardType.SpinnerFiller, true); } @@ -126,7 +126,6 @@ public class SpinGui extends SimpleGui _ticksThisSwap = 0; _swapCount++; - updateGui(); if(_pitch == 1) _pitch = (float) 1.5; else if(_pitch == 1.5) @@ -138,6 +137,8 @@ public class SpinGui extends SimpleGui _currentRewardIndex++; + updateGui(); + // Slow _ticksPerSwap = _ticks.get(_currentRewardIndex - 1);