mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-06-29 02:30:01 +00:00
Don't check people for meta perms when using kits.
This commit is contained in:
parent
32d44eb13d
commit
7d0fafd084
3 changed files with 11 additions and 7 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue