From 210b418e440da31ad4366fa45d7dc4984319da39 Mon Sep 17 00:00:00 2001 From: Jamie Sinn Date: Thu, 26 Jul 2018 19:52:15 -0400 Subject: [PATCH] Get string before format. (#3507) --- .../java/com/gmail/nossr50/commands/player/MctopCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java b/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java index 943718c6c..4a6f29707 100644 --- a/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java @@ -95,7 +95,7 @@ public class MctopCommand implements TabExecutor { seconds = 1; } - sender.sendMessage(LocaleLoader.formatString("Commands.Database.Cooldown", seconds)); + sender.sendMessage(LocaleLoader.formatString(LocaleLoader.getString("Commands.Database.Cooldown"), seconds)); return; }