Fix treetaps not being recognized under the new system.

This commit is contained in:
tterrag1098 committed 2014-12-30 15:18:15 -05:00
1 parent 619348cb71
commit d993cd4cbf
1 file changed
+6 -1
@@ -53,7 +53,12 @@ public class TileFarmStation extends AbstractPoweredTaskEntity {
abstract boolean match(ItemStack item);
public static boolean isTool(ItemStack stack) {
return HOE.itemMatches(stack) || AXE.itemMatches(stack);
for (ToolType type : values()) {
if (type.itemMatches(stack)) {
return true;
}
}
return false;
}
}