Mention why you must be disguised for /savedisguise

This commit is contained in:
libraryaddict 2022-01-26 12:13:48 +13:00
parent e4e3cc3f17
commit 7dffc92365
2 changed files with 2 additions and 1 deletions

@ -60,7 +60,7 @@ public class SaveDisguiseCommand implements CommandExecutor {
Disguise disguise = DisguiseAPI.getDisguise((Entity) sender); Disguise disguise = DisguiseAPI.getDisguise((Entity) sender);
if (disguise == null) { if (disguise == null) {
LibsMsg.NOT_DISGUISED.send(sender); LibsMsg.NOT_DISGUISED_SAVE_DISGUISE.send(sender);
return true; return true;
} }

@ -139,6 +139,7 @@ public enum LibsMsg {
NO_PERMS_USE_OPTIONS("<red>Ignored %s methods you do not have permission to use. Add 'show' to view unusable methods."), NO_PERMS_USE_OPTIONS("<red>Ignored %s methods you do not have permission to use. Add 'show' to view unusable methods."),
OWNED_BY("<gold>Plugin registered to '%%__USER__%%'!"), OWNED_BY("<gold>Plugin registered to '%%__USER__%%'!"),
NOT_DISGUISED("<red>You are not disguised!"), NOT_DISGUISED("<red>You are not disguised!"),
NOT_DISGUISED_SAVE_DISGUISE("<red>You are not disguised! To save a disguise in disguises.yml, you must be disguised!"),
DISGUISE_REQUIRED("<red>You must be disguised to run this command!"), DISGUISE_REQUIRED("<red>You must be disguised to run this command!"),
TARGET_NOT_DISGUISED("<red>That entity is not disguised!"), TARGET_NOT_DISGUISED("<red>That entity is not disguised!"),
NOT_NUMBER("<red>Error! %s is not a number"), NOT_NUMBER("<red>Error! %s is not a number"),