@Deprecated public boolean isToolEffective(String type,int level){
  String t=getHarvestTool();
  return (t == null && type == null) || type.equals(t);
}

@ Deprecated public boolean isToolEffective ( String type , int level ) { String t = getHarvestTool ( ) ; return ( t == null && type == null ) || type . equals ( t ) ; }
checks if the specified tool is strong enough to harvest this part at full speed .
