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

Commit

Permalink
fix(api): ConfigStreamでファイルに書き込まれない問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed Jun 13, 2021
1 parent 2ef1807 commit a3a5b6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "com.github.sya-ri.spigot.api"
version = "2.3.3"
version = "2.3.4"

bukkit {
name = "EasySpigotAPI"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class DefaultConfigStream(val inputStream: InputStream) : DefaultConfig {
inputStream.use { input ->
config.file.outputStream().use { output ->
input.copyTo(output)
output.flush()
}
}
config.reload()
Expand Down

0 comments on commit a3a5b6f

Please sign in to comment.