From fc940c7b5a496977e8622e91663a50d73fdebb95 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Wed, 10 Aug 2016 10:39:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BD=93=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E4=B8=8D=E5=AD=98=E5=9C=A8=E6=97=B6=E7=9A=84=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/pw/yumc/YumCore/statistic/Statistics.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/pw/yumc/YumCore/statistic/Statistics.java b/src/main/java/pw/yumc/YumCore/statistic/Statistics.java index e1f92d7..dac463f 100644 --- a/src/main/java/pw/yumc/YumCore/statistic/Statistics.java +++ b/src/main/java/pw/yumc/YumCore/statistic/Statistics.java @@ -115,6 +115,7 @@ public class Statistics { public Statistics() { try { if (!configfile.exists()) { + configfile.getParentFile().mkdirs(); configfile.createNewFile(); } config = YamlConfiguration.loadConfiguration(configfile);