aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-06-18 23:10:08 +0200
committerGitHub <noreply@github.com>2024-06-18 23:10:08 +0200
commita94026a24423fdd330a02c7b9887455137ab5f2f (patch)
tree922dba4728f6decf061b1db2fd0c10217a2fcb6b
parentef0e880d507725a31fd016e3f35e03c0b19a77d2 (diff)
downloadskyhanni-a94026a24423fdd330a02c7b9887455137ab5f2f.tar.gz
skyhanni-a94026a24423fdd330a02c7b9887455137ab5f2f.tar.bz2
skyhanni-a94026a24423fdd330a02c7b9887455137ab5f2f.zip
Docs: Mention ConfigMigrator in Contrib Guide (#2118)
Co-authored-by: Empa <42304516+ItsEmpa@users.noreply.github.com>
-rw-r--r--CONTRIBUTING.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d4f548ddc..c0d399186 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -90,6 +90,7 @@ for more information and usages.
- Please use Regex instead of String comparison when it is likely Hypixel will change the message in the future.
- Do not use `fixedRateTimer` when possible and instead use `SecondPassedEvent` to safely execute the repeating event on
the main thread.
+- When updating a config option variable, use the `ConfigUpdaterMigrator.ConfigFixEvent` with event.move(), when moving a value, and event.transform() when updating a value. [For Example](https://github.com/hannibal002/SkyHanni/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt#L241).
## Software Used in SkyHanni