diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/data/storage/YamlDataHandler.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/data/storage/YamlDataHandler.kt index 8f9415c..6457bf3 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/data/storage/YamlDataHandler.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/data/storage/YamlDataHandler.kt @@ -15,7 +15,7 @@ class YamlDataHandler( } override fun write(uuid: UUID, key: String, value: T) { - dataYml.set("player.$uuid.key", value) + dataYml.set("player.$uuid.$key", value) } override fun readInt(uuid: UUID, key: String): Int {