summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2014-06-07 16:08:51 +0100
committerKHobbits <rob@khobbits.co.uk>2014-06-07 16:08:51 +0100
commit3887fdd47de71b804337c75e46e65bf378f2b55b (patch)
tree8298b308597d082c0e856f1e20cfdc69c70ade98
parent7e9328bd250ed6cf3743ff596ade0c60120f83aa (diff)
downloadEssentials-3887fdd47de71b804337c75e46e65bf378f2b55b.tar
Essentials-3887fdd47de71b804337c75e46e65bf378f2b55b.tar.gz
Essentials-3887fdd47de71b804337c75e46e65bf378f2b55b.tar.lz
Essentials-3887fdd47de71b804337c75e46e65bf378f2b55b.tar.xz
Essentials-3887fdd47de71b804337c75e46e65bf378f2b55b.zip
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.
-rw-r--r--Essentials/src/com/earth2me/essentials/MetaItemStack.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/MetaItemStack.java b/Essentials/src/com/earth2me/essentials/MetaItemStack.java
index 4618159dc..c39028627 100644
--- a/Essentials/src/com/earth2me/essentials/MetaItemStack.java
+++ b/Essentials/src/com/earth2me/essentials/MetaItemStack.java
@@ -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
{