diff --git a/CHANGELOG.md b/CHANGELOG.md index 52b7b84..fea4871 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,5 @@ - Initial project setup - Added config dependency -- Added utils and debug functions \ No newline at end of file +- Added utils and debug functions +- Added config handler \ No newline at end of file diff --git a/src/JordanMod/ConfigHandler.cs b/src/JordanMod/ConfigHandler.cs new file mode 100644 index 0000000..79c1b38 --- /dev/null +++ b/src/JordanMod/ConfigHandler.cs @@ -0,0 +1,14 @@ +using BepInEx.Configuration; + +namespace JordanMod; + +public static class ConfigHandler +{ + public static ConfigFile Config { get; private set; } = null!; + + public static void Initialize(ConfigFile configFile) + { + Config = configFile; + } + +} \ No newline at end of file