diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-04 10:37:41 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-04 10:37:41 +0200 |
commit | faef964ca44bfec28817f32c2a09370d91313a19 (patch) | |
tree | ff1361b1f5f7aa4eaa7dd6508ae416b83c728c3c /src | |
parent | 834d1713f15cfb201295a95a0f07ef73119dcf0d (diff) | |
download | NotEnoughUpdates-faef964ca44bfec28817f32c2a09370d91313a19.tar.gz NotEnoughUpdates-faef964ca44bfec28817f32c2a09370d91313a19.tar.bz2 NotEnoughUpdates-faef964ca44bfec28817f32c2a09370d91313a19.zip |
Code cleanup (also the latest commit message has missing open brackets, sorry, I'll ask github to change this manually)
Diffstat (limited to 'src')
4 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/MinionHelperManager.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/MinionHelperManager.java index 3478179a..7d0227fe 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/MinionHelperManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/MinionHelperManager.java @@ -231,10 +231,6 @@ public class MinionHelperManager { return api; } - public MinionHelperRepoLoader getRepo() { - return repo; - } - public MinionHelperOverlay getOverlay() { return overlay; } diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/repo/MinionHelperRepoLoader.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/repo/MinionHelperRepoLoader.java index 8cfe88e5..943e8cf8 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/repo/MinionHelperRepoLoader.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/repo/MinionHelperRepoLoader.java @@ -45,7 +45,6 @@ public class MinionHelperRepoLoader { private final MinionHelperManager manager; private boolean dirty = true; private int ticks = 0; - private final Map<String, String> displayNameCache = new HashMap<>(); private boolean repoReadyToUse = false; private final MinionHelperRepoMinionLoader minionLoader; boolean errorWhileLoading = false; @@ -210,7 +209,6 @@ public class MinionHelperRepoLoader { public void setDirty() { dirty = true; - displayNameCache.clear(); repoReadyToUse = false; } diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/CraftingSource.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/CraftingSource.java index 08f27b35..eca689d1 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/CraftingSource.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/CraftingSource.java @@ -20,7 +20,6 @@ package io.github.moulberry.notenoughupdates.miscgui.minionhelper.sources; import com.google.common.collect.ArrayListMultimap; -import io.github.moulberry.notenoughupdates.miscgui.minionhelper.Minion; public class CraftingSource extends MinionSource { //name -> amount diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/NpcSource.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/NpcSource.java index a11e8a38..941890fa 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/NpcSource.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/NpcSource.java @@ -20,7 +20,6 @@ package io.github.moulberry.notenoughupdates.miscgui.minionhelper.sources; import com.google.common.collect.ArrayListMultimap; -import io.github.moulberry.notenoughupdates.miscgui.minionhelper.Minion; public class NpcSource extends MinionSource { private final String npcName; |