mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Allow -baby to exist in perms
This commit is contained in:
parent
b44aba87d4
commit
31dd6ef5e3
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue