mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 08:36:45 +01:00
ItemUtils: add ENCHANTED_BOOK to isEnchantable()
Probably need this for my other change to be relevant.
This commit is contained in:
parent
22caf14866
commit
53285b182f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user