Don't check people for meta perms when using kits.

This commit is contained in:
KHobbits 2013-03-07 02:57:25 +00:00
parent 32d44eb13d
commit 7d0fafd084
3 changed files with 11 additions and 7 deletions

View file

@ -111,7 +111,15 @@ public class Commandfirework extends EssentialsCommand
final MetaItemStack mStack = new MetaItemStack(stack);
for (String arg : args)
{
mStack.addFireworkMeta(user, true, arg, ess);
try
{
mStack.addFireworkMeta(user, true, arg, ess);
}
catch (Exception e)
{
user.sendMessage(_("fireworkSyntax"));
throw e;
}
}
if (mStack.isValidFirework())