mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-10 18:38:18 +01: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
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user