mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 03:53:41 +00:00
New permission: essentials.itemspawn.meta-vanilla
Without this permission you cannot use vanilla itemmeta. You can still use essentials style meta, if you have the appropriate permissions.
This commit is contained in:
parent
7e9328bd25
commit
3887fdd47d
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ public class MetaItemStack
|
||||||
|
|
||||||
public void parseStringMeta(final CommandSource sender, final boolean allowUnsafe, String[] string, int fromArg, final IEssentials ess) throws Exception
|
public void parseStringMeta(final CommandSource sender, final boolean allowUnsafe, String[] string, int fromArg, final IEssentials ess) throws Exception
|
||||||
{
|
{
|
||||||
if (string[fromArg].startsWith("{"))
|
if (string[fromArg].startsWith("{") && hasMetaPermission(sender, "vanilla", false, true, ess))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue