diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2021-08-24 15:06:42 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2021-08-24 15:06:42 +0200 |
commit | 10d64cd33c0c86be95952f94783950bfedd912ba (patch) | |
tree | c7d5e43eba6994aa5ec8b0d354d5d264cad034e1 /src/main/java | |
parent | dcd6317f47fbc68aa9340aeafb75f044f0eb25bb (diff) | |
download | NotEnoughUpdates-10d64cd33c0c86be95952f94783950bfedd912ba.tar.gz NotEnoughUpdates-10d64cd33c0c86be95952f94783950bfedd912ba.tar.bz2 NotEnoughUpdates-10d64cd33c0c86be95952f94783950bfedd912ba.zip |
undid auto format
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java index 8ff0bff2..0d15574f 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java @@ -37,13 +37,13 @@ public class OverlayManager { "\u00a73Experiments: \u00a7e3h38m"); textOverlays.add(timersOverlay = new TimersOverlay(NotEnoughUpdates.INSTANCE.config.miscOverlays.todoPosition, () -> { List<String> strings = new ArrayList<>(); - for (int i : NotEnoughUpdates.INSTANCE.config.miscOverlays.todoText2) { - if (i >= 0 && i < todoDummy.size()) strings.add(todoDummy.get(i)); + for(int i : NotEnoughUpdates.INSTANCE.config.miscOverlays.todoText2) { + if(i >= 0 && i < todoDummy.size()) strings.add(todoDummy.get(i)); } return strings; }, () -> { int style = NotEnoughUpdates.INSTANCE.config.miscOverlays.todoStyle; - if (style >= 0 && style < TextOverlayStyle.values().length) { + if(style >= 0 && style < TextOverlayStyle.values().length) { return TextOverlayStyle.values()[style]; } return TextOverlayStyle.BACKGROUND; @@ -55,13 +55,13 @@ public class OverlayManager { "\u00a73Forge 2) \u00a77EMPTY\n\u00a73Forge 3) \u00a77EMPTY\n\u00a73Forge 4) \u00a77EMPTY"); miningOverlay = new MiningOverlay(NotEnoughUpdates.INSTANCE.config.mining.overlayPosition, () -> { List<String> strings = new ArrayList<>(); - for (int i : NotEnoughUpdates.INSTANCE.config.mining.dwarvenText) { - if (i >= 0 && i < miningDummy.size()) strings.add(miningDummy.get(i)); + for(int i : NotEnoughUpdates.INSTANCE.config.mining.dwarvenText) { + if(i >= 0 && i < miningDummy.size()) strings.add(miningDummy.get(i)); } return strings; }, () -> { int style = NotEnoughUpdates.INSTANCE.config.mining.overlayStyle; - if (style >= 0 && style < TextOverlayStyle.values().length) { + if(style >= 0 && style < TextOverlayStyle.values().length) { return TextOverlayStyle.values()[style]; } return TextOverlayStyle.BACKGROUND; @@ -76,13 +76,13 @@ public class OverlayManager { "\u00a7bYaw: \u00a7e68.25\u00a7l\u1D52"); farmingOverlay = new FarmingOverlay(NotEnoughUpdates.INSTANCE.config.skillOverlays.farmingPosition, () -> { List<String> strings = new ArrayList<>(); - for (int i : NotEnoughUpdates.INSTANCE.config.skillOverlays.farmingText) { - if (i >= 0 && i < farmingDummy.size()) strings.add(farmingDummy.get(i)); + for(int i : NotEnoughUpdates.INSTANCE.config.skillOverlays.farmingText) { + if(i >= 0 && i < farmingDummy.size()) strings.add(farmingDummy.get(i)); } return strings; }, () -> { int style = NotEnoughUpdates.INSTANCE.config.skillOverlays.farmingStyle; - if (style >= 0 && style < TextOverlayStyle.values().length) { + if(style >= 0 && style < TextOverlayStyle.values().length) { return TextOverlayStyle.values()[style]; } return TextOverlayStyle.BACKGROUND; @@ -98,13 +98,13 @@ public class OverlayManager { "\u00a7bUntil L100: \u00a7e2d13h"); petInfoOverlay = new PetInfoOverlay(NotEnoughUpdates.INSTANCE.config.petOverlay.petInfoPosition, () -> { List<String> strings = new ArrayList<>(); - for (int i : NotEnoughUpdates.INSTANCE.config.petOverlay.petOverlayText) { - if (i >= 0 && i < petInfoDummy.size()) strings.add(petInfoDummy.get(i)); + for(int i : NotEnoughUpdates.INSTANCE.config.petOverlay.petOverlayText) { + if(i >= 0 && i < petInfoDummy.size()) strings.add(petInfoDummy.get(i)); } return strings; }, () -> { int style = NotEnoughUpdates.INSTANCE.config.petOverlay.petInfoOverlayStyle; - if (style >= 0 && style < TextOverlayStyle.values().length) { + if(style >= 0 && style < TextOverlayStyle.values().length) { return TextOverlayStyle.values()[style]; } return TextOverlayStyle.BACKGROUND; @@ -116,7 +116,7 @@ public class OverlayManager { ); bonemerangOverlay = new BonemerangOverlay(NotEnoughUpdates.INSTANCE.config.itemOverlays.bonemerangPosition, () -> bonemerangDummy, () -> { int style = NotEnoughUpdates.INSTANCE.config.itemOverlays.bonemerangOverlayStyle; - if (style >= 0 && style < TextOverlayStyle.values().length) { + if(style >= 0 && style < TextOverlayStyle.values().length) { return TextOverlayStyle.values()[style]; } return TextOverlayStyle.BACKGROUND; |