diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-09-11 07:22:34 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-10 23:22:34 +0200 |
| commit | 29056776e6182d6e2f7a60b572d31a9bafae084a (patch) | |
| tree | d75a5bc8c41debd66861f57242b005854dd1653f | |
| parent | 944ba15ffdc940a8ed9045a410de045132204503 (diff) | |
| download | notenoughupdates-master.tar.gz notenoughupdates-master.tar.bz2 notenoughupdates-master.zip | |
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java | 7 |
1 files changed, 7 insertions, 0 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 00ff473d..7cc02885 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/OverlayManager.java @@ -22,6 +22,8 @@ package io.github.moulberry.notenoughupdates.overlays; import com.google.common.collect.Lists; import io.github.moulberry.notenoughupdates.NotEnoughUpdates; import io.github.moulberry.notenoughupdates.miscfeatures.PetInfoOverlay; +import io.github.moulberry.notenoughupdates.miscgui.customtodos.CustomTodo; +import io.github.moulberry.notenoughupdates.miscgui.customtodos.CustomTodoHud; import java.util.ArrayList; import java.util.List; @@ -72,6 +74,11 @@ public class OverlayManager { for (int i : NotEnoughUpdates.INSTANCE.config.miscOverlays.todoText2) { if (i >= 0 && i < todoDummy.size()) strings.add(todoDummy.get(i)); } + for (CustomTodo customTodo : NotEnoughUpdates.INSTANCE.config.hidden.customTodos) { + if (customTodo.isEnabledOnCurrentProfile()) { + strings.add(CustomTodoHud.INSTANCE.encodeCustomItem(customTodo.getIcon()) + ":§3" + customTodo.getLabel() + ":§a Ready!"); + } + } return strings; }, () -> { int style = NotEnoughUpdates.INSTANCE.config.miscOverlays.todoStyle; |
