Skip to content

Commit 7aa1d38

Browse files
committed
feat: update version to 1.21.11-2.72.1 and correct config path documentation
1 parent 2b0491c commit 7aa1d38

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
77
javaVersion=25
88
mcVersion=1.21.11
99
group=dev.slne.surf
10-
version=1.21.11-2.72.0
10+
version=1.21.11-2.72.1
1111
relocationPrefix=dev.slne.surf.surfapi.libs
1212
snapshot=false

surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/config/SpongeConfigClass.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ sealed class SpongeConfigClass<C>(
112112
/**
113113
* Sets the path in the config file where the version number is stored.
114114
*
115-
* Defaults to `"config-version"`. Call this in the `init` block before
115+
* Defaults to `"_config_version"`. Call this in the `init` block before
116116
* any migration registrations if you need a custom key.
117117
*
118118
* @param path the path components to the version key

surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/config/SurfConfigApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ interface SurfConfigApi {
129129
configFolder: Path,
130130
configFileName: @JsonConfigFileNamePattern String,
131131
): SpongeConfigManager<C> =
132-
createSpongeYmlConfigManager(configClass, configFolder, configFileName, ConfigMigrationBuilder())
132+
createSpongeJsonConfigManager(configClass, configFolder, configFileName, ConfigMigrationBuilder())
133133

134134
/**
135135
* Creates a Sponge JSON configuration manager.

0 commit comments

Comments
 (0)