moved some debug statements around

This commit is contained in:
Jack
2024-07-23 17:53:43 -04:00
parent e3e09f24ac
commit dfbd81146f

View File

@@ -108,9 +108,13 @@ public final class RealTimeWeather extends JavaPlugin {
world.setTime(calculateWorldTime(cal, "5:02:27 AM", "6:36:36 PM"));
}
}, 0L, config.getTimeSyncInterval());
debug("Weather sync enabled");
}
private void setupWeather() {
debug("Enabling weather sync...");
try {
new WeatherRequestObject(config.getAPIKey(), config.getWeatherLatitude(), config.getWeatherLongitude());
} catch (Exception e) {