Declared Enchantment as Unsafe
This commit is contained in:
parent
2f142476ee
commit
8972f7513f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ public class LetterDye {
|
||||||
}
|
}
|
||||||
public static ItemStack getLetterDye(){
|
public static ItemStack getLetterDye(){
|
||||||
ItemStack item = new ItemStack(Material.INK_SACK);
|
ItemStack item = new ItemStack(Material.INK_SACK);
|
||||||
item.addEnchantment(Enchantment.LUCK, 10);
|
item.addUnsafeEnchantment(Enchantment.LUCK, 10);
|
||||||
ItemMeta meta = item.getItemMeta();
|
ItemMeta meta = item.getItemMeta();
|
||||||
meta.setDisplayName("LetterDye");
|
meta.setDisplayName("LetterDye");
|
||||||
item.setItemMeta(meta);
|
item.setItemMeta(meta);
|
||||||
|
|
Loading…
Reference in a new issue