Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
config system changes
Browse files Browse the repository at this point in the history
  • Loading branch information
emirsassan committed Nov 25, 2023
1 parent 206fbe4 commit 169439f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/java/dev/stormy/client/config/ClientConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class ClientConfig {
private final File configFile;
private final File weaveDir = new File(System.getProperty("user.home"), ".weave");
private final File configDir = new File(weaveDir, "raven");;
private final String fileName = "client.rcfg";
private final File configDir = new File(weaveDir, "stormy");;
private final String fileName = "client.scfg";
private final String clickGuiPosPrefix = "clickgui-pos~ ";
private final String loadedConfigPrefix = "loaded-cfg~ ";

Expand All @@ -36,7 +37,7 @@ public ClientConfig(){
}

public void saveConfig() {
List<String> config = new java.util.ArrayList<>();
List<String> config = new ArrayList<>();
config.add(clickGuiPosPrefix + getClickGuiPos());
config.add(loadedConfigPrefix + Stormy.configManager.getConfig().getName());
config.add(ArrayListModule.HUDX_prefix + ArrayListModule.getHudX());
Expand Down

1 comment on commit 169439f

@emirsassan
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this is not raven theres no point of using raven dir 💀

Please sign in to comment.