From 53285b182f934cb060810e094eec2a1c0b4ea396 Mon Sep 17 00:00:00 2001 From: hoorigan Date: Tue, 31 Oct 2017 16:36:56 -0400 Subject: [PATCH] ItemUtils: add ENCHANTED_BOOK to isEnchantable() Probably need this for my other change to be relevant. --- src/main/java/com/gmail/nossr50/util/ItemUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/gmail/nossr50/util/ItemUtils.java b/src/main/java/com/gmail/nossr50/util/ItemUtils.java index b8a8d3d79..be49f9d58 100644 --- a/src/main/java/com/gmail/nossr50/util/ItemUtils.java +++ b/src/main/java/com/gmail/nossr50/util/ItemUtils.java @@ -503,6 +503,7 @@ public final class ItemUtils { */ public static boolean isEnchantable(ItemStack item) { switch (item.getType()) { + case ENCHANTED_BOOK: case SHEARS: case FISHING_ROD: case CARROT_STICK: