Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Commit a3a5b6f

Browse files
committed
fix(api): ConfigStreamでファイルに書き込まれない問題を修正
1 parent 2ef1807 commit a3a5b6f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "com.github.sya-ri.spigot.api"
10-
version = "2.3.3"
10+
version = "2.3.4"
1111

1212
bukkit {
1313
name = "EasySpigotAPI"

api/src/main/kotlin/com/github/syari/spigot/api/config/def/DefaultConfigStream.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class DefaultConfigStream(val inputStream: InputStream) : DefaultConfig {
1717
inputStream.use { input ->
1818
config.file.outputStream().use { output ->
1919
input.copyTo(output)
20+
output.flush()
2021
}
2122
}
2223
config.reload()

0 commit comments

Comments
 (0)