diff options
| author | Moulberry <james.jenour@protonmail.com> | 2021-09-02 20:00:10 +0800 |
|---|---|---|
| committer | Moulberry <james.jenour@protonmail.com> | 2021-09-02 20:00:10 +0800 |
| commit | 8eee6262a6e2c372240331f3c43c2279bd18539e (patch) | |
| tree | 8ebf9cdf596fae2ec6b149826475d1d84de9ec3a /src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java | |
| parent | 7cab76126da90f1884c111a1ee589b90a6ef828e (diff) | |
| download | notenoughupdates-8eee6262a6e2c372240331f3c43c2279bd18539e.tar.gz notenoughupdates-8eee6262a6e2c372240331f3c43c2279bd18539e.tar.bz2 notenoughupdates-8eee6262a6e2c372240331f3c43c2279bd18539e.zip | |
finish enchant gui
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java index 16e6f8cb..a789acfd 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java @@ -35,8 +35,7 @@ public class NEUConfig extends Config { overlay.renderDummy(); OverlayManager.dontRenderOverlay = overlay.getClass(); }, () -> { - }, () -> NotEnoughUpdates.INSTANCE.openGui = new GuiScreenElementWrapper( - new NEUConfigEditor(NotEnoughUpdates.INSTANCE.config, activeConfig)) + }, () -> NotEnoughUpdates.INSTANCE.openGui = new GuiScreenElementWrapper(NEUConfigEditor.editor) )); } @@ -49,7 +48,6 @@ public class NEUConfig extends Config { activeConfigCategory = ((NEUConfigEditor)wrapper.element).getSelectedCategoryName(); } } - final String activeConfigCategoryF = activeConfigCategory; switch (runnableId) { case 0: @@ -63,8 +61,7 @@ public class NEUConfig extends Config { NotEnoughUpdates.INSTANCE.config.mining.drillFuelBarPosition, NotEnoughUpdates.INSTANCE.config.mining.drillFuelBarWidth, 12, () -> { }, () -> { - }, () -> NotEnoughUpdates.INSTANCE.openGui = new GuiScreenElementWrapper( - new NEUConfigEditor(NotEnoughUpdates.INSTANCE.config, activeConfigCategoryF)) + }, () -> NotEnoughUpdates.INSTANCE.openGui = new GuiScreenElementWrapper(NEUConfigEditor.editor) )); return; case 3: @@ -236,19 +233,13 @@ public class NEUConfig extends Config { ) public PetOverlay petOverlay = new PetOverlay(); - @Expose - @Category( - name = "AH Search GUI", - desc = "AH Search GUI" - ) - public AuctionHouseSearch auctionHouseSearch = new AuctionHouseSearch(); @Expose @Category( - name = "AH BIN Warning", - desc = "AH BIN Warning" + name = "AH Tweaks", + desc = "Tweaks for Hypixel's (Not NEU's) Auction House" ) - public AuctionHouseBINWarning auctionHouseBINWarning = new AuctionHouseBINWarning(); + public AHTweaks ahTweaks = new AHTweaks(); @Expose @Category( |
