diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-08-10 12:47:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 12:47:30 +0200 |
commit | 97a75485fa125b37c27ffd53ac1c4fbc875a7b40 (patch) | |
tree | 1a5ed16cbf80ac2d2ca21ad713883d4b2e185347 /api | |
parent | 091ce4c72c123f43f317c097818ace15f3a085fa (diff) | |
download | OneConfig-97a75485fa125b37c27ffd53ac1c4fbc875a7b40.tar.gz OneConfig-97a75485fa125b37c27ffd53ac1c4fbc875a7b40.tar.bz2 OneConfig-97a75485fa125b37c27ffd53ac1c4fbc875a7b40.zip |
Profile fix (#89)
* e
* omg finish profile shit
* api and fix 1.12.2 preprocess
* fix class names
* fix compat mode profile stuff
* api
Diffstat (limited to 'api')
-rw-r--r-- | api/OneConfig.api | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/OneConfig.api b/api/OneConfig.api index c904fe9..51fc6fd 100644 --- a/api/OneConfig.api +++ b/api/OneConfig.api @@ -3,7 +3,6 @@ public class cc/polyfrost/oneconfig/config/Config { protected final field defaults Ljava/util/HashMap; public field enabled Z protected final field gson Lcom/google/gson/Gson; - public field hasBeenInitialized Z public field mod Lcc/polyfrost/oneconfig/config/data/Mod; protected final field nonProfileSpecificGson Lcom/google/gson/Gson; public final field optionNames Ljava/util/HashMap; @@ -23,9 +22,11 @@ public class cc/polyfrost/oneconfig/config/Config { public fun initialize ()V public fun load ()V public fun openGui ()V + public fun reInitialize ()V protected fun registerKeyBind (Lcc/polyfrost/oneconfig/config/core/OneKeyBind;Ljava/lang/Runnable;)V public fun reset ()V public fun save ()V + public fun supportsProfiles ()Z } public abstract interface annotation class cc/polyfrost/oneconfig/config/annotations/Button : java/lang/annotation/Annotation { |