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