From acad9422ba28a58cf40b2f8f8ee9375fd05f87af Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 2 Feb 2017 20:19:37 +0100 Subject: [PATCH] Changed file initialization --- src/com/redstoner/misc/mysql/FolderRegistry.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/redstoner/misc/mysql/FolderRegistry.java b/src/com/redstoner/misc/mysql/FolderRegistry.java index 2c19087..4f9b368 100644 --- a/src/com/redstoner/misc/mysql/FolderRegistry.java +++ b/src/com/redstoner/misc/mysql/FolderRegistry.java @@ -11,10 +11,10 @@ public class FolderRegistry public static void init() { File dataFolder = Main.plugin.getDataFolder(); - moduleFolder = new File(dataFolder + "/modules"); - configFolder = new File(dataFolder + "/config"); - commandFolder = new File(dataFolder + "/commands"); - tempFolder = new File(dataFolder + "/temp"); + moduleFolder = new File(dataFolder, "modules/"); + configFolder = new File(dataFolder, "config/"); + commandFolder = new File(dataFolder, "commands/"); + tempFolder = new File(dataFolder, "temp/"); if (!moduleFolder.exists()) { moduleFolder.mkdirs();