Fix /localweather
All checks were successful
/ deploy (push) Successful in 36s

This commit is contained in:
Minecon724 2025-01-15 07:10:20 +01:00
parent f61783c1a5
commit 96454e22ec

View file

@ -43,8 +43,8 @@ public class LocalWeatherCommand implements CommandExecutor {
if (weather.shower)
colorize(sender, "&6Shower");
colorize(sender, "&6Cloudiness: &b%f%&7%", weather.cloudiness * 100);
colorize(sender, "&6Humidity: &b%f%&7%", weather.humidity * 100);
colorize(sender, "&6Cloudiness: &b%f&7%%", weather.cloudiness * 100);
colorize(sender, "&6Humidity: &b%f&7%%", weather.humidity * 100);
colorize(sender, "&6Temperature: &b%f&7°C (feels like %f°C)", weather.temperature - 273.15, weather.temperatureApparent - 273.15);
colorize(sender, "&6Wind: &b%f&7m/s (gust %fm/s)", weather.windSpeed, weather.windGust);
colorize(sender, "&6Last update: &b%s UTC\n", formatTime(lastUpdate));