From d8bf59f639e4c03becc98e5bc4da2f88dba471fa Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 15 Jan 2011 00:29:38 -0800 Subject: [PATCH] Improved the Javadoc for JavaPlugin.getConfiguration(). --- src/main/java/org/bukkit/plugin/java/JavaPlugin.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java index 2a70ecc7..629ec091 100644 --- a/src/main/java/org/bukkit/plugin/java/JavaPlugin.java +++ b/src/main/java/org/bukkit/plugin/java/JavaPlugin.java @@ -96,7 +96,10 @@ public abstract class JavaPlugin implements Plugin { } /** - * Returns the main configuration file. It will be loaded. + * Returns the main configuration located at + * /config.yml and loads the file. If the configuration file + * does not exist and it cannot be loaded, no error will be emitted and + * the configuration file will have no values. * * @return */