aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/MinionHelperManager.java4
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/repo/MinionHelperRepoLoader.java2
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/CraftingSource.java1
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/sources/NpcSource.java1
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;