aboutsummaryrefslogtreecommitdiff
path: root/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt')
-rw-r--r--src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt b/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt
index 9335fb4..ac162a1 100644
--- a/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt
+++ b/src/testmod/kotlin/dev/isxander/yacl3/test/DslTest.kt
@@ -11,7 +11,7 @@ import net.minecraft.network.chat.Component
import net.minecraft.network.chat.ComponentSerialization
import net.minecraft.resources.ResourceLocation
-object CodecConfigKt : JsonFileCodecConfig(YACLPlatform.getConfigDir().resolve("codec_config_kt.json")) {
+object CodecConfigKt : JsonFileCodecConfig<CodecConfigKt>(YACLPlatform.getConfigDir().resolve("codec_config_kt.json")) {
val myInt by register<Int>(0, Codec.INT)
val myString by register<String>("default", Codec.STRING)