diff options
| author | ohowe <42757516+carelesshippo@users.noreply.github.com> | 2021-05-05 18:13:28 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-05 18:13:28 -0600 |
| commit | 4d9e538ced80728bca74491698347333f515bfcc (patch) | |
| tree | e272c853cb9ebe7eb8334e405060bc820ee129fd /src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | |
| parent | 59d3bf67d93d0204d0dc493508d9d9c2a24cd10b (diff) | |
| parent | 9aa7b49d224bfde055e12bc84f6908ba0a50090d (diff) | |
| download | notenoughupdates-4d9e538ced80728bca74491698347333f515bfcc.tar.gz notenoughupdates-4d9e538ced80728bca74491698347333f515bfcc.tar.bz2 notenoughupdates-4d9e538ced80728bca74491698347333f515bfcc.zip | |
Merge pull request #2 from Moulberry/master
x
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java index 4f392ae8..24c90c7b 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java @@ -3,6 +3,8 @@ package io.github.moulberry.notenoughupdates; import com.google.common.collect.Lists; import com.google.gson.*; import io.github.moulberry.notenoughupdates.auction.APIManager; +import io.github.moulberry.notenoughupdates.miscfeatures.StorageManager; +import io.github.moulberry.notenoughupdates.miscgui.GuiItemCustomize; import io.github.moulberry.notenoughupdates.miscgui.GuiItemRecipe; import io.github.moulberry.notenoughupdates.util.Constants; import io.github.moulberry.notenoughupdates.util.HypixelApi; @@ -73,8 +75,6 @@ public class NEUManager { public File configLocation; public File repoLocation; public File configFile; - public File itemRenameFile; - public JsonObject itemRenameJson; public NEUManager(NotEnoughUpdates neu, File configLocation) { this.neu = neu; @@ -85,12 +85,6 @@ public class NEUManager { this.repoLocation = new File(configLocation, "repo"); repoLocation.mkdir(); - - this.itemRenameFile = new File(configLocation, "itemRename.json"); - itemRenameJson = getJsonFromFile(itemRenameFile); - if(itemRenameJson == null) { - itemRenameJson = new JsonObject(); - } } public void setCurrentProfile(String currentProfile) { @@ -101,10 +95,6 @@ public class NEUManager { return SBInfo.getInstance().currentProfile; } - public void saveItemRenameConfig() { - try { writeJson(itemRenameJson, itemRenameFile); } catch(IOException ignored) {} - } - /** * Parses a file in to a JsonObject. */ |
