Minor change

This commit is contained in:
libraryaddict 2022-06-15 00:36:23 +12:00
parent 9018440f3c
commit 986da73278

View File

@ -134,7 +134,7 @@ public class DisguiseCommand extends DisguiseBaseCommand implements TabCompleter
LibsMsg.DISG_HELP1.send(sender);
LibsMsg.CAN_USE_DISGS.send(sender, StringUtils.join(allowedDisguises, LibsMsg.CAN_USE_DISGS_SEPERATOR.get()));
if (allowedDisguises.stream().anyMatch(disguise -> disguise.equalsIgnoreCase("Player"))) {
if (allowedDisguises.stream().anyMatch(disguise -> disguise.equalsIgnoreCase("player"))) {
LibsMsg.DISG_HELP2.send(sender);
}