mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Hopefully fizes #1098 in a better way.
This commit is contained in:
parent
643cfadaf4
commit
a00d2c9f59
@ -49,7 +49,7 @@ public class RainbowTicker extends BlockTicker {
|
||||
|
||||
@Override
|
||||
public void uniqueTick() {
|
||||
index = ((index == queue[queue.length - 1]) ? 0: index + 1);
|
||||
index = ((index >= queue.length - 1) ? 0: index + 1);
|
||||
meta = queue[index];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user