We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3184b8 commit a1feefbCopy full SHA for a1feefb
CHANGELOG.md
@@ -3,6 +3,7 @@
3
### Fixed
4
5
- Compatibility with Minecraft 1.13 - 1.16.5
6
+- FileNotFoundException on config initialization
7
8
## [v0.7] (2022-02-06)
9
mimic-bukkit/src/main/kotlin/config/MimicConfig.kt
@@ -42,6 +42,10 @@ internal class MimicConfig(
42
43
fun reload() {
44
try {
45
+ if (!file.exists()) {
46
+ file.parentFile.mkdirs()
47
+ file.createNewFile()
48
+ }
49
configuration.load(file)
50
readConfigValues()
51
} catch (e: Exception) {
0 commit comments