aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Features.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java
index 064b5ce2a..e91e89c8b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Features.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java
@@ -16,7 +16,6 @@ public class Features extends Config {
public static final ResourceLocation DISCORD = new ResourceLocation("notenoughupdates:social/discord.png");
public static final ResourceLocation GITHUB = new ResourceLocation("notenoughupdates:social/github.png");
-
@Override
public boolean shouldAutoFocusSearchbar() {
return true;
@@ -31,6 +30,11 @@ public class Features extends Config {
}
@Override
+ public void saveNow() {
+ SkyHanniMod.configManager.saveConfig("close-gui");
+ }
+
+ @Override
public String getTitle() {
return "SkyHanni " + SkyHanniMod.getVersion() + " by §channibal2§r, config by §5Moulberry §rand §5nea89";
}