Plugin data folders are now no longer created by default.
This commit is contained in:
parent
d8bf59f639
commit
262d0ddad6
@ -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…
x
Reference in New Issue
Block a user