mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +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 {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -100,7 +100,7 @@ public final class JavaPluginLoader implements PluginLoader {
|
|||
dataFolder = new File(file.getParentFile(), filename + "_");
|
||||
}
|
||||
|
||||
dataFolder.mkdirs();
|
||||
//dataFolder.mkdirs();
|
||||
|
||||
return dataFolder;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue