From 31dd6ef5e33c7b75beeed081deb4f5d97734dfd7 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 23 May 2014 08:26:43 +1200 Subject: [PATCH] Allow -baby to exist in perms --- .../libraryaddict/disguise/utilities/BaseDisguiseCommand.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java b/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java index 87821523..cfa196b7 100644 --- a/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java +++ b/src/me/libraryaddict/disguise/utilities/BaseDisguiseCommand.java @@ -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);