mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-18 19:39:06 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
f1dea5460a
commit
f106b5e766
172 files changed
+2552
-2088
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package codechicken.nei.config;
|
||||
|
||||
public class OptionCycled extends OptionButton {
|
||||
|
||||
public final int count;
|
||||
public final boolean prefixed;
|
||||
|
||||
@@ -35,8 +36,7 @@ public class OptionCycled extends OptionButton {
|
||||
|
||||
public boolean cycle() {
|
||||
int next = value();
|
||||
do next = (next + 1) % count;
|
||||
while (!optionValid(next));
|
||||
do next = (next + 1) % count; while (!optionValid(next));
|
||||
|
||||
if (next == value()) return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user