Use locale instead of hard coded message for pending load on certain commands

Fixes #4391
This commit is contained in:
nossr50 2021-01-21 14:33:39 -08:00
parent 80a1b3949e
commit 1b5dd86796

View File

@ -98,7 +98,7 @@ public class CommandManager {
public void validateLoadedData(@NotNull Player player) { public void validateLoadedData(@NotNull Player player) {
if(UserManager.getPlayer(player) == null) { if(UserManager.getPlayer(player) == null) {
throw new ConditionFailedException("Your mcMMO player data has not yet loaded!"); throw new ConditionFailedException(LocaleLoader.getString("Profile.PendingLoad"));
} }
} }