mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-04 06:21:28 +01:00
Try translate NPCCommandSelector message
This commit is contained in:
parent
34398f09d5
commit
d99109d0b2
@ -63,7 +63,7 @@ public class NPCCommandSelector extends NumericPrompt {
|
||||
} catch (WrappedCommandException ex) {
|
||||
ex.getCause().printStackTrace();
|
||||
} catch (CommandException ex) {
|
||||
Messaging.sendError(sender, ex.getMessage());
|
||||
Messaging.sendError(sender, Messaging.tryTranslate(ex.getMessage()));
|
||||
} catch (NumberFormatException ex) {
|
||||
Messaging.sendErrorTr(sender, CommandMessages.INVALID_NUMBER);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user