Add v1.4.0 changes to legacy #9

Merged
Jack1424 merged 12 commits from main into legacy 2024-07-23 18:10:08 -04:00
7 changed files with 245 additions and 101 deletions
Showing only changes of commit e3e09f24ac - Show all commits

View File

@@ -13,7 +13,7 @@ public class EventHandlers implements Listener {
private final ConfigManager config;
public EventHandlers(RealTimeWeather rtw) {
config = rtw.getConfigurator();
config = rtw.getConfigManager();
}
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)

View File

@@ -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);
}
public ConfigManager getConfigurator() {
public ConfigManager getConfigManager() {
return config;
}