mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-16 15:38:14 +01:00
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("\\.")) {
|
||||
if (str.equals("baby"))
|
||||
str = "setbaby";
|
||||
if (str.equals("-baby"))
|
||||
str = "-setbaby";
|
||||
p.add(str);
|
||||
}
|
||||
perms.add(p);
|
||||
|
Loading…
Reference in New Issue
Block a user