From 7dffc923657fd9411682ce1bce1924ec2071ff0f Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 26 Jan 2022 12:13:48 +1300 Subject: [PATCH] Mention why you must be disguised for /savedisguise --- .../disguise/commands/utils/SaveDisguiseCommand.java | 2 +- .../libraryaddict/disguise/utilities/translations/LibsMsg.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/src/main/java/me/libraryaddict/disguise/commands/utils/SaveDisguiseCommand.java b/plugin/src/main/java/me/libraryaddict/disguise/commands/utils/SaveDisguiseCommand.java index 9cc2b294..ebbfe6fc 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/commands/utils/SaveDisguiseCommand.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/commands/utils/SaveDisguiseCommand.java @@ -60,7 +60,7 @@ public class SaveDisguiseCommand implements CommandExecutor { Disguise disguise = DisguiseAPI.getDisguise((Entity) sender); if (disguise == null) { - LibsMsg.NOT_DISGUISED.send(sender); + LibsMsg.NOT_DISGUISED_SAVE_DISGUISE.send(sender); return true; } diff --git a/plugin/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java b/plugin/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java index b2cf70dd..17854e88 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java @@ -139,6 +139,7 @@ public enum LibsMsg { NO_PERMS_USE_OPTIONS("Ignored %s methods you do not have permission to use. Add 'show' to view unusable methods."), OWNED_BY("Plugin registered to '%%__USER__%%'!"), NOT_DISGUISED("You are not disguised!"), + NOT_DISGUISED_SAVE_DISGUISE("You are not disguised! To save a disguise in disguises.yml, you must be disguised!"), DISGUISE_REQUIRED("You must be disguised to run this command!"), TARGET_NOT_DISGUISED("That entity is not disguised!"), NOT_NUMBER("Error! %s is not a number"),