From 77c12dcc20e1a574b45b92d33766bacb7858b16f Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sat, 5 Jan 2019 00:04:58 -0500 Subject: [PATCH] Tridents are tools too (cherry picked from commit 1b74c0bd920cf32499ecdb2c285917f2e41cef44) --- src/main/java/com/gmail/nossr50/util/ItemUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/ItemUtils.java b/src/main/java/com/gmail/nossr50/util/ItemUtils.java index 5eeb4a320..14e13c3b8 100644 --- a/src/main/java/com/gmail/nossr50/util/ItemUtils.java +++ b/src/main/java/com/gmail/nossr50/util/ItemUtils.java @@ -366,7 +366,7 @@ public final class ItemUtils { * @return true if the item is a tool, false otherwise */ public static boolean isMinecraftTool(ItemStack item) { - return isStoneTool(item) || isWoodTool(item) || isGoldTool(item) || isIronTool(item) || isDiamondTool(item) || isStringTool(item); + return isStoneTool(item) || isWoodTool(item) || isGoldTool(item) || isIronTool(item) || isDiamondTool(item) || isStringTool(item) || item.getType() == Material.TRIDENT; } /**