From 10d64cd33c0c86be95952f94783950bfedd912ba Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Tue, 24 Aug 2021 15:06:42 +0200 Subject: undid auto format --- .../notenoughupdates/overlays/OverlayManager.java | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/main') 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 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 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 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 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; -- cgit