Unswap key and Iv
This commit is contained in:
parent
250b36f9ee
commit
1b21099378
@ -118,13 +118,13 @@ public class Config {
|
||||
.option(Option.<String>createBuilder()
|
||||
.name(Text.literal("Secret key"))
|
||||
.description(OptionDescription.of(Text.literal("This be the key that will be used.")))
|
||||
.binding(getDefaultKey(), () -> HANDLER.instance().Iv, this::setIv)
|
||||
.binding(getDefaultIv(), () -> HANDLER.instance().Iv, this::setIv)
|
||||
.controller(StringControllerBuilder::create)
|
||||
.build())
|
||||
.option(Option.<String>createBuilder()
|
||||
.name(Text.literal("Initialization vector"))
|
||||
.description(OptionDescription.of(Text.literal("This be the initialization vector that will be used.")))
|
||||
.binding(getDefaultIv(), () -> HANDLER.instance().SecretKey, this::setSecretKey)
|
||||
.binding(getDefaultKey(), () -> HANDLER.instance().SecretKey, this::setSecretKey)
|
||||
.controller(StringControllerBuilder::create)
|
||||
.build())
|
||||
.build())
|
||||
|
@ -26,6 +26,7 @@
|
||||
"fabricloader": ">=${loader_version}",
|
||||
"fabric": "*",
|
||||
"minecraft": "${minecraft_version}",
|
||||
"yet_another_config_lib_v3": "*"
|
||||
"yet_another_config_lib_v3": "3.3.2+1.20.4",
|
||||
"modmenu": "9.1.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user