This commit is contained in:
Minecon724 2022-04-23 17:06:26 +00:00
parent 31ce95aa76
commit 3486a1c36b

View file

@ -38,7 +38,7 @@ public class RW extends JavaPlugin {
Bukkit.getPluginManager().disablePlugin(this); Bukkit.getPluginManager().disablePlugin(this);
} }
Provider provider = null; Provider provider;
if (choice == "openweathermap") { if (choice == "openweathermap") {
Bukkit.getLogger().info("Using OpenWeatherMap as the weather provider"); Bukkit.getLogger().info("Using OpenWeatherMap as the weather provider");
provider = new OpenWeatherMapProvider( providerCfg.getString("apiKey") ); provider = new OpenWeatherMapProvider( providerCfg.getString("apiKey") );