From 96454e22ec24f62ea13a7746e33476a4d6cf4be8 Mon Sep 17 00:00:00 2001 From: Minecon724 <minecon724@noreply.git.m724.eu> Date: Wed, 15 Jan 2025 07:10:20 +0100 Subject: [PATCH] Fix /localweather --- .../eu/m724/realweather/commands/LocalWeatherCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/m724/realweather/commands/LocalWeatherCommand.java b/src/main/java/eu/m724/realweather/commands/LocalWeatherCommand.java index bc0ed3c..1439b36 100644 --- a/src/main/java/eu/m724/realweather/commands/LocalWeatherCommand.java +++ b/src/main/java/eu/m724/realweather/commands/LocalWeatherCommand.java @@ -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));