aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/config
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-08 16:02:54 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-08 16:02:54 +0200
commit9e08dbf2baa9819abd281ad285df7462c99491e2 (patch)
tree6e874e1c5b74a522d6acca08dd6b64c808ddbbbe /src/main/java/at/lorenz/mod/config
parent1e268208cd700b379952d1718dca66fa4aad305c (diff)
downloadskyhanni-9e08dbf2baa9819abd281ad285df7462c99491e2.tar.gz
skyhanni-9e08dbf2baa9819abd281ad285df7462c99491e2.tar.bz2
skyhanni-9e08dbf2baa9819abd281ad285df7462c99491e2.zip
remove old stuff
Diffstat (limited to 'src/main/java/at/lorenz/mod/config')
-rw-r--r--src/main/java/at/lorenz/mod/config/Features.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/at/lorenz/mod/config/Features.java b/src/main/java/at/lorenz/mod/config/Features.java
index c35639491..e195f1d1b 100644
--- a/src/main/java/at/lorenz/mod/config/Features.java
+++ b/src/main/java/at/lorenz/mod/config/Features.java
@@ -4,7 +4,6 @@ import com.google.gson.annotations.Expose;
import at.lorenz.mod.LorenzMod;
import com.thatgravyboat.skyblockhud.config.SBHConfigEditor;
import com.thatgravyboat.skyblockhud.core.GuiScreenElementWrapper;
-import com.thatgravyboat.skyblockhud.core.config.Config;
import com.thatgravyboat.skyblockhud.core.config.Position;
import com.thatgravyboat.skyblockhud.core.config.annotations.Category;
import com.thatgravyboat.skyblockhud.core.config.annotations.ConfigEditorBoolean;
@@ -12,13 +11,12 @@ import com.thatgravyboat.skyblockhud.core.config.annotations.ConfigOption;
import com.thatgravyboat.skyblockhud.core.config.gui.GuiPositionEditor;
import net.minecraft.client.Minecraft;
-public class Features extends Config {
+public class Features {
private void editOverlay(String activeConfig, int width, int height, Position position) {
- Minecraft.getMinecraft().displayGuiScreen(new GuiPositionEditor(position, width, height, () -> {}, () -> {}, () -> LorenzMod.screenToOpen = new GuiScreenElementWrapper(new SBHConfigEditor(LorenzMod.config, activeConfig))));
+ Minecraft.getMinecraft().displayGuiScreen(new GuiPositionEditor(position, width, height, () -> {}, () -> {}, () -> LorenzMod.screenToOpen = new GuiScreenElementWrapper(new SBHConfigEditor(LorenzMod.feature, activeConfig))));
}
- @Override
public void executeRunnable(String runnableId) {
// String activeConfigCategory = null;
// if (Minecraft.getMinecraft().currentScreen instanceof GuiScreenElementWrapper) {