Improve English
Commits like this one are seriously embarrassing
This commit is contained in:
parent
35f8c5f882
commit
88df6c5781
1 changed files with 3 additions and 3 deletions
|
@ -53,8 +53,8 @@ public class RealWeatherPlugin extends JavaPlugin {
|
||||||
DebugLogger.info("loading configurations", 1);
|
DebugLogger.info("loading configurations", 1);
|
||||||
|
|
||||||
if (!new File(dataFolder, "config.yml").exists()) {
|
if (!new File(dataFolder, "config.yml").exists()) {
|
||||||
logger.info("This is the first run of this plugin.");
|
logger.warning("This is the first time running this plugin.");
|
||||||
logger.info("Please shutdown the server and input your API keys and settings");
|
logger.warning("Please shut down the server, review the config files, and enter your API keys.");
|
||||||
|
|
||||||
getServer().getPluginManager().disablePlugin(this);
|
getServer().getPluginManager().disablePlugin(this);
|
||||||
return;
|
return;
|
||||||
|
@ -78,7 +78,7 @@ public class RealWeatherPlugin extends JavaPlugin {
|
||||||
DebugLogger.debugLevel = configuration.getInt("debug");
|
DebugLogger.debugLevel = configuration.getInt("debug");
|
||||||
|
|
||||||
if (!configuration.getBoolean("enabled")) {
|
if (!configuration.getBoolean("enabled")) {
|
||||||
logger.info("plugin disabled by admin");
|
logger.info("Plugin disabled by configuration!");
|
||||||
getServer().getPluginManager().disablePlugin(this);
|
getServer().getPluginManager().disablePlugin(this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue