mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Use locale instead of hard coded message for pending load on certain commands
Fixes #4391
This commit is contained in:
parent
80a1b3949e
commit
1b5dd86796
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user