Declared Enchantment as Unsafe

This commit is contained in:
alisolarflare 2016-12-02 21:39:23 -05:00
parent 2f142476ee
commit 8972f7513f

View file

@ -14,7 +14,7 @@ public class LetterDye {
}
public static ItemStack getLetterDye(){
ItemStack item = new ItemStack(Material.INK_SACK);
item.addEnchantment(Enchantment.LUCK, 10);
item.addUnsafeEnchantment(Enchantment.LUCK, 10);
ItemMeta meta = item.getItemMeta();
meta.setDisplayName("LetterDye");
item.setItemMeta(meta);