0

Changed file initialization

This commit is contained in:
Pepich 2017-02-02 20:19:37 +01:00
parent 851230f58c
commit acad9422ba

View File

@ -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();