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:
@@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user