1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-10 00:28:22 +02: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:
KHobbits
2014-06-07 16:08:51 +01:00
parent 2cecfaa56e
commit 16d8b9e261

View File

@@ -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
{
if (string[fromArg].startsWith("{"))
if (string[fromArg].startsWith("{") && hasMetaPermission(sender, "vanilla", false, true, ess))
{
try
{