1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00
This commit is contained in:
ajan-12 2019-09-08 10:12:45 +03:00
parent 23819a1d83
commit 643cfadaf4

View File

@ -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];
} }