fix IO error

This commit is contained in:
TONY_All 2022-02-04 23:17:20 +08:00
parent 822b0a8208
commit efc565ae1b
1 changed files with 0 additions and 1 deletions

View File

@ -193,7 +193,6 @@ object InviteCodeCommands {
val result = codes.joinToString("\n")
val output = File(getDataFolder(), "current.txt")
withContext(Dispatchers.IO) {
output.mkdirs()
output.createNewFile()
output.writeText(result)
}