Plugin data folders are now no longer created by default.

This commit is contained in:
sk89q 2011-01-15 00:34:01 -08:00
parent d8bf59f639
commit 262d0ddad6
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;
}