Skip to content

Commit

Permalink
Update docs/misc/config.md
Browse files Browse the repository at this point in the history
Co-authored-by: IchHabeHunger54 <[email protected]>
  • Loading branch information
cakeGit and IchHabeHunger54 authored Aug 5, 2024
1 parent 8ce841f commit 5347f8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/misc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ public static ModConfigSpec configSpec;
//Configure the config once the class is loaded
static {
Pair<ExampleConfig, ModConfigSpec> pair =
new ModConfigSpec.Builder()
.configure(ExampleConfig::new);
new ModConfigSpec.Builder().configure(ExampleConfig::new);

//Store the resulting values
config = pair.getLeft();
Expand Down

0 comments on commit 5347f8d

Please sign in to comment.