From 0879e5e7a93372c03a3d7b646302262fb2cc3498 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 26 Aug 2022 22:33:42 +0700 Subject: [PATCH] Correct readingFolder --- src/main/kotlin/ru/dbotthepony/kstarbound/Starbound.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/Starbound.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/Starbound.kt index a73f7d09..98c3fd22 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/Starbound.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/Starbound.kt @@ -45,11 +45,11 @@ object Starbound : IVFS { private val _readingFolder = ThreadLocal() /** - * Случит переменной для указания из какой папки происходит чтение asset'а в данном потоке + * Служит переменной для указания из какой папки происходит чтение asset'а в данном потоке */ var readingFolder: String? get() = _readingFolder.get() - set(value) { _readingFolder.set(value) } + private set(value) { _readingFolder.set(value) } private val tiles = HashMap() private val tilesByMaterialID = Int2ObjectAVLTreeMap()