diff --git a/src/main/java/pl/minecon724/realweather/RW.java b/src/main/java/pl/minecon724/realweather/RW.java index 2676147..836ffe8 100644 --- a/src/main/java/pl/minecon724/realweather/RW.java +++ b/src/main/java/pl/minecon724/realweather/RW.java @@ -38,7 +38,7 @@ public class RW extends JavaPlugin { Bukkit.getPluginManager().disablePlugin(this); } - Provider provider = null; + Provider provider; if (choice == "openweathermap") { Bukkit.getLogger().info("Using OpenWeatherMap as the weather provider"); provider = new OpenWeatherMapProvider( providerCfg.getString("apiKey") );