Changed file initialization
This commit is contained in:
parent
851230f58c
commit
acad9422ba
@ -11,10 +11,10 @@ public class FolderRegistry
|
|||||||
public static void init()
|
public static void init()
|
||||||
{
|
{
|
||||||
File dataFolder = Main.plugin.getDataFolder();
|
File dataFolder = Main.plugin.getDataFolder();
|
||||||
moduleFolder = new File(dataFolder + "/modules");
|
moduleFolder = new File(dataFolder, "modules/");
|
||||||
configFolder = new File(dataFolder + "/config");
|
configFolder = new File(dataFolder, "config/");
|
||||||
commandFolder = new File(dataFolder + "/commands");
|
commandFolder = new File(dataFolder, "commands/");
|
||||||
tempFolder = new File(dataFolder + "/temp");
|
tempFolder = new File(dataFolder, "temp/");
|
||||||
if (!moduleFolder.exists())
|
if (!moduleFolder.exists())
|
||||||
{
|
{
|
||||||
moduleFolder.mkdirs();
|
moduleFolder.mkdirs();
|
||||||
|
Reference in New Issue
Block a user