Update buildscript & apply automatic formatting rules

This commit is contained in:
Raven Szewczyk authored and Jason Mitchell committed 2022-06-27 10:23:18 -07:00
1 parent a7683b885d
commit f7a900e910
173 files changed
+4581 -5321

No files matched your search

@@ -1,7 +1,6 @@
package codechicken.nei.config;
public class OptionCycled extends OptionButton
{
public class OptionCycled extends OptionButton {
public final int count;
public final boolean prefixed;
@@ -36,12 +35,10 @@ public class OptionCycled extends OptionButton
public boolean cycle() {
int next = value();
do
next = (next + 1) % count;
do next = (next + 1) % count;
while (!optionValid(next));
if (next == value())
return false;
if (next == value()) return false;
getTag().setIntValue(next);
return true;