Allow -baby to exist in perms

This commit is contained in:
libraryaddict 2014-05-23 08:26:43 +12:00
parent b44aba87d4
commit 31dd6ef5e3

View File

@ -141,6 +141,8 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
for (String str : s.split("\\.")) {
if (str.equals("baby"))
str = "setbaby";
if (str.equals("-baby"))
str = "-setbaby";
p.add(str);
}
perms.add(p);