mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-22 23:15:36 +01:00
Plugin data folders are now no longer created by default.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
11012b27dd
commit
2439031c40
3 changed files with 5 additions and 3 deletions
|
@ -10,7 +10,8 @@ import org.bukkit.util.config.Configuration;
|
||||||
*/
|
*/
|
||||||
public interface Plugin {
|
public interface Plugin {
|
||||||
/**
|
/**
|
||||||
* Returns the folder that the plugin data's files are located in.
|
* Returns the folder that the plugin data's files are located in. The
|
||||||
|
* folder may not yet exist.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -42,7 +42,8 @@ public abstract class JavaPlugin implements Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the folder that the plugin data's files are located in.
|
* Returns the folder that the plugin data's files are located in. The
|
||||||
|
* folder may not yet exist.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -100,7 +100,7 @@ public final class JavaPluginLoader implements PluginLoader {
|
||||||
dataFolder = new File(file.getParentFile(), filename + "_");
|
dataFolder = new File(file.getParentFile(), filename + "_");
|
||||||
}
|
}
|
||||||
|
|
||||||
dataFolder.mkdirs();
|
//dataFolder.mkdirs();
|
||||||
|
|
||||||
return dataFolder;
|
return dataFolder;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue