public int getBuy(int id)
    {
        try {
        ResultSet rs = sql.doquery("SELECT buy, buyable FROM bout_items WHERE id="+ id +" LIMIT 1");
        if (rs.next())
        {
            if(rs.getInt("buyable") == 1)
                return rs.getInt("buy");
        }
        return -1;
        } catch (Exception e){

        }
        return -1;
    }