From e526ca7c8ead834aa0c2bd9f628dd01b314176b5 Mon Sep 17 00:00:00 2001 From: Maxicarlos08 Date: Wed, 20 Sep 2023 23:29:40 +0200 Subject: [PATCH] changelog entry --- CHANGELOG.md | 1 + server/src/cmd.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22b36b3e49..b259b40706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Changed gold ore to gold ingots in the Brinstone armor set recipes - Updated windowing library, wayland may work better. - Portal model has been updated by @Nectical +- Chat command responses sent by the server can now be localized ### Removed - Medium and large potions from all loot tables diff --git a/server/src/cmd.rs b/server/src/cmd.rs index 02520b1953..b6f3f1d5f5 100644 --- a/server/src/cmd.rs +++ b/server/src/cmd.rs @@ -3850,7 +3850,7 @@ fn handle_battlemode( if elapsed < COOLDOWN { return Err(Content::localized_with_args( "command-battlemode-cooldown", - [("cooldown", format!("{:0.}", COOLDOWN - elapsed))], + [("cooldown", format!("{:.0}", COOLDOWN - elapsed))], )); } }