Allow -baby to exist in perms
This commit is contained in:
parent
b44aba87d4
commit
31dd6ef5e3
@ -141,6 +141,8 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
|||||||
for (String str : s.split("\\.")) {
|
for (String str : s.split("\\.")) {
|
||||||
if (str.equals("baby"))
|
if (str.equals("baby"))
|
||||||
str = "setbaby";
|
str = "setbaby";
|
||||||
|
if (str.equals("-baby"))
|
||||||
|
str = "-setbaby";
|
||||||
p.add(str);
|
p.add(str);
|
||||||
}
|
}
|
||||||
perms.add(p);
|
perms.add(p);
|
||||||
|
Loading…
Reference in New Issue
Block a user