diff options
Diffstat (limited to 'src/main/java/io')
-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; |