Fix #593 wrong param

This commit is contained in:
libraryaddict 2021-07-12 20:08:35 +12:00
parent f4d19ab3ce
commit 2ff26d972c

View File

@ -106,8 +106,8 @@ public class DisguiseModifyCommand extends DisguiseBaseCommand implements TabCom
protected void sendCommandUsage(CommandSender sender, DisguisePermissions permissions) { protected void sendCommandUsage(CommandSender sender, DisguisePermissions permissions) {
ArrayList<String> allowedDisguises = getAllowedDisguises(permissions); ArrayList<String> allowedDisguises = getAllowedDisguises(permissions);
LibsMsg.DMODIFY_HELP3.send(sender); LibsMsg.DMODIFY_HELP1.send(sender);
LibsMsg.DMODIFY_HELP3.send(sender); LibsMsg.DMODIFY_HELP2.send(sender);
LibsMsg.DMODIFY_HELP3.send(sender, LibsMsg.DMODIFY_HELP3.send(sender,
StringUtils.join(allowedDisguises, LibsMsg.CAN_USE_DISGS_SEPERATOR.get())); StringUtils.join(allowedDisguises, LibsMsg.CAN_USE_DISGS_SEPERATOR.get()));
} }