From 3486a1c36bb30f2e1d8d4e0f048ba36be896d642 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sat, 23 Apr 2022 17:06:26 +0000 Subject: [PATCH] s --- src/main/java/pl/minecon724/realweather/RW.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") );