From 8972f7513fc3bc76a0103753ea2ef3a702acffa5 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Fri, 2 Dec 2016 21:39:23 -0500 Subject: [PATCH] Declared Enchantment as Unsafe --- .../components/flaircolouring/letterdyes/LetterDye.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alisolarflare/components/flaircolouring/letterdyes/LetterDye.java b/src/alisolarflare/components/flaircolouring/letterdyes/LetterDye.java index 506f53c..68f9b88 100644 --- a/src/alisolarflare/components/flaircolouring/letterdyes/LetterDye.java +++ b/src/alisolarflare/components/flaircolouring/letterdyes/LetterDye.java @@ -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);