Mention why you must be disguised for /savedisguise
This commit is contained in:
		| @@ -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"), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user