renamed RealTimeWeather.getConfigurator to getConfigManager
This commit is contained in:
@@ -13,7 +13,7 @@ public class EventHandlers implements Listener {
|
|||||||
private final ConfigManager config;
|
private final ConfigManager config;
|
||||||
|
|
||||||
public EventHandlers(RealTimeWeather rtw) {
|
public EventHandlers(RealTimeWeather rtw) {
|
||||||
config = rtw.getConfigurator();
|
config = rtw.getConfigManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
|
||||||
|
@@ -186,7 +186,7 @@ public final class RealTimeWeather extends JavaPlugin {
|
|||||||
return String.format("RealTimeWeather (v%s) is outdated! v%s is the latest version.", currentVersion, latestVersion);
|
return String.format("RealTimeWeather (v%s) is outdated! v%s is the latest version.", currentVersion, latestVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConfigManager getConfigurator() {
|
public ConfigManager getConfigManager() {
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user