From 20291736cedb8d7ee71c16577409a5041cb6dc22 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 24 Sep 2021 14:19:28 +0100 Subject: [PATCH] Fixed data.yml --- .../kotlin/com/willfp/ecoskills/data/storage/YamlDataHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {