From 1b5dd867969a673cf82091c6eb119d6996dab567 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 21 Jan 2021 14:33:39 -0800 Subject: [PATCH] Use locale instead of hard coded message for pending load on certain commands Fixes #4391 --- src/main/java/com/gmail/nossr50/commands/CommandManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/commands/CommandManager.java b/src/main/java/com/gmail/nossr50/commands/CommandManager.java index de5d4a7fd..1bf350b08 100644 --- a/src/main/java/com/gmail/nossr50/commands/CommandManager.java +++ b/src/main/java/com/gmail/nossr50/commands/CommandManager.java @@ -98,7 +98,7 @@ public class CommandManager { public void validateLoadedData(@NotNull Player player) { if(UserManager.getPlayer(player) == null) { - throw new ConditionFailedException("Your mcMMO player data has not yet loaded!"); + throw new ConditionFailedException(LocaleLoader.getString("Profile.PendingLoad")); } }