Plugin data folders are now no longer created by default.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-01-15 00:34:01 -08:00
parent 11012b27dd
commit 2439031c40
3 changed files with 5 additions and 3 deletions

View file

@ -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
*/

View file

@ -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
*/

View file

@ -100,7 +100,7 @@ public final class JavaPluginLoader implements PluginLoader {
dataFolder = new File(file.getParentFile(), filename + "_");
}
dataFolder.mkdirs();
//dataFolder.mkdirs();
return dataFolder;
}